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>
Tue, 25 Oct 2011 23:51:35 +0000 (19:51 -0400)
commitc91e09b6838f514a9a162a715a75241214258270
tree2968f33057f7fb03dcaa53af697f2dbc5b1f653e
parentf8b4392091e1a699a1402b66d578ab9a05bf7d44
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