• Mikhail Gruzdev's avatar
    Blackfin: fix sparse warnings in copy_to/from_user · c91e09b6
    Mikhail Gruzdev authored
     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: default avatarMikhail Gruzdev <michail.gruzdev@gmail.com>
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    c91e09b6
uaccess.h 7.42 KB