linux/arch/blackfin
Lars-Peter Clausen d95dcaa06b Blackfin: Annotate strncpy_from_user src parameter with __user
The src parameter of strncpy_from_user is supposed to take a string from
userspace, so it should be annotated with __user. Doing so fixes the following
and similar warnings from sparse:

	kernel/sys.c:491:51: warning: incorrect type in argument 2 (different address spaces)
	kernel/sys.c:491:51:    expected char const *src
	kernel/sys.c:491:51:    got void [noderef] <asn:1>*arg
	kernel/sys.c:2061:54: warning: incorrect type in argument 2 (different address spaces)
	kernel/sys.c:2061:54:    expected char const *src
	kernel/sys.c:2061:54:    got char [noderef] <asn:1>*<noident>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
2012-12-13 13:50:56 +08:00
..
boot
configs UAPI Disintegration 2012-10-09 2012-10-09 15:04:25 +01:00
include Blackfin: Annotate strncpy_from_user src parameter with __user 2012-12-13 13:50:56 +08:00
kernel vfs: define struct filename and have getname() return it 2012-10-12 20:14:55 -04:00
lib
mach-bf518
mach-bf527
mach-bf533
mach-bf537
mach-bf538
mach-bf548
mach-bf561
mach-bf609
mach-common
mm
oprofile
Clear_BSD.txt
Kconfig Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux 2012-10-14 13:39:34 -07:00
Kconfig.debug
Makefile