]>
git.karo-electronics.de Git - karo-tx-linux.git/commit
Blackfin: fix sparse warnings in copy_to/from_user
Fix argument types for copy_to_user.
Fix following sparse warnings:
arch/blackfin/include/asm/uaccess.h:198:14: warning: incorrect type
in argument 2 (different address spaces)
arch/blackfin/include/asm/uaccess.h:198:14: expected void const *s
arch/blackfin/include/asm/uaccess.h:198:14: got void const
[noderef] <asn:1>*from
arch/blackfin/include/asm/uaccess.h:208:14: warning: incorrect type
in argument 2 (different address spaces)
arch/blackfin/include/asm/uaccess.h:208:14: expected void const *s
arch/blackfin/include/asm/uaccess.h:208:14: got void const
[noderef] <asn:1>*from
Signed-off-by: Mikhail Gruzdev <michail.gruzdev@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>