linux/drivers/staging/android
Emil Goode 78aee0fc9a staging: android: binder: fix sparse warnings
Fix sparse warnings by adding __user annotation to stucts.

This patch fixes the the following sparse warnings:

drivers/staging/android/binder.c:1343:76: warning:
	incorrect type in argument 2 (different address spaces)
	drivers/staging/android/binder.c:1343:76:
	expected void [noderef] <asn:1>*ptr
	drivers/staging/android/binder.c:1343:76: got void *binder
drivers/staging/android/binder.c:1567:57: warning:
	incorrect type in argument 2 (different address spaces)
	drivers/staging/android/binder.c:1567:57:
	expected void const [noderef] <asn:1>*from
	drivers/staging/android/binder.c:1567:57:
	got void const *buffer
drivers/staging/android/binder.c:1573:46: warning:
	incorrect type in argument 2 (different address spaces)
	drivers/staging/android/binder.c:1573:46:
	expected void const [noderef] <asn:1>*from
	drivers/staging/android/binder.c:1573:46:
	got void const *offsets
drivers/staging/android/binder.c:1603:76: warning:
	incorrect type in argument 2 (different address spaces)
	drivers/staging/android/binder.c:1603:76:
	expected void [noderef] <asn:1>*ptr
	drivers/staging/android/binder.c:1603:76: got void *binder
drivers/staging/android/binder.c:1605:64: warning:
	incorrect type in argument 2 (different address spaces)
	drivers/staging/android/binder.c:1605:64:
	expected void [noderef] <asn:1>*ptr
	drivers/staging/android/binder.c:1605:64: got void *binder
drivers/staging/android/binder.c:1605:76: warning:
	incorrect type in argument 3 (different address spaces)
	drivers/staging/android/binder.c:1605:76:
	expected void [noderef] <asn:1>*cookie
	drivers/staging/android/binder.c:1605:76: got void *cookie
drivers/staging/android/binder.c:1613:40: error:
	incompatible types in comparison

Signed-off-by: Emil Goode <emilgoode@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-24 11:01:46 -07:00
..
switch staging: android: switch: minor code formatting cleanups 2011-12-16 13:41:37 -08:00
Kconfig android-alarm: Remove unused android alarm in-kernel interfaces 2012-04-20 15:06:25 -07:00
Makefile android-alarm: Remove unused android alarm in-kernel interfaces 2012-04-20 15:06:25 -07:00
TODO drivers:staging:android Typos: fix some comments that have typos in them. 2012-02-08 16:47:50 -08:00
alarm-dev.c staging: android-alarm: Switch from wakelocks to wakeup sources 2012-04-24 11:01:45 -07:00
android_alarm.h android-alarm: Remove unused android alarm in-kernel interfaces 2012-04-20 15:06:25 -07:00
ashmem.c drivers/staging/android/ashmem.c: Cleanups 2012-02-08 16:47:51 -08:00
ashmem.h ashmem: Anonymous shared memory subsystem 2011-12-21 13:38:28 -08:00
binder.c Merge branch 'x86-x32-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-03-29 18:12:23 -07:00
binder.h staging: android: binder: fix sparse warnings 2012-04-24 11:01:46 -07:00
logger.c staging: logger: hold mutex while removing reader 2012-02-24 12:03:14 -08:00
logger.h
lowmemorykiller.c Staging: android: lowmemorykiller.c 2012-03-07 13:21:23 -08:00
persistent_ram.c staging: fix android persistent_ram printk formats 2012-04-10 10:31:01 -07:00
persistent_ram.h staging: android: persistent_ram: handle reserving and mapping memory 2012-03-08 09:36:08 -08:00
ram_console.c Staging: android: ram_console.c: 2012-03-15 16:38:14 -07:00
ram_console.h staging: android: ram_console: pass in a boot info string 2011-11-30 21:23:37 +09:00
timed_gpio.c drivers/staging/android/timed_gpio.c: Stlye fixes 2012-02-08 16:47:52 -08:00
timed_gpio.h Staging: android: timed_gpio: Removed spaces before tabs 2012-02-29 15:52:52 -08:00
timed_output.c
timed_output.h