staging: android: binder: modify struct binder_write_read to use size_t
authorSerban Constantinescu <serban.constantinescu@arm.com>
Thu, 4 Jul 2013 09:54:43 +0000 (10:54 +0100)
committerDavid Butcher <david.butcher@arm.com>
Thu, 16 Jan 2014 14:08:32 +0000 (14:08 +0000)
commit7b397ae09a9d11abdbb6c3d2f1ce52cd58db3aca
tree362c0b963adb68c96a2941338066ee61f16372d1
parent0715d10b9e6c04327adb189e13ecd6a3c2df48ce
staging: android: binder: modify struct binder_write_read to use size_t

This change mirrors the userspace operation where struct binder_write_read
members that specify the buffer size and consumed size are size_t elements.

The patch also fixes the binder_thread_write() and binder_thread_read()
functions prototypes to conform with the definition of binder_write_read.

The changes do not affect existing 32bit ABI.

Change-Id: I987246d507b9c5e4627c62a1da971d11869ac5a0
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Acked-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c
drivers/staging/android/uapi/binder.h