]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Blackfin: fix sparse warnings in copy_to/from_user
authorMikhail Gruzdev <michail.gruzdev@gmail.com>
Sat, 6 Aug 2011 06:44:51 +0000 (10:44 +0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Aug 2011 02:00:01 +0000 (22:00 -0400)
commit3312cd952ff6d540605ffcfe64913b523502e646
tree68f4b3b5d34a2586235b571e1674d440002e4c14
parent9dddba61280acf82110346f5becaa1403409359a
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>
arch/blackfin/include/asm/uaccess.h