From: Lars-Peter Clausen Date: Mon, 22 Oct 2012 14:09:03 +0000 (+0200) Subject: Blackfin: Add missing __user annotations to put_user X-Git-Tag: v3.8-rc1~64^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aff06631da3c8349149fe4214091735b35294151;p=pandora-kernel.git Blackfin: Add missing __user annotations to put_user typeof() will not inherit the __user annotation so we have to explicitly specify this for '_p'. This fixes the following and quite a few similar warnings from spatch: kernel/sys.c:884:26: warning: incorrect type in initializer (different address spaces) kernel/sys.c:884:26: expected unsigned int *_p kernel/sys.c:884:26: got unsigned int [noderef] [usertype] *ruidp kernel/sys.c:885:26: warning: incorrect type in initializer (different address spaces) kernel/sys.c:885:26: expected unsigned int *_p kernel/sys.c:885:26: got unsigned int [noderef] [usertype] *euidp kernel/sys.c:886:26: warning: incorrect type in initializer (different address spaces) kernel/sys.c:886:26: expected unsigned int *_p kernel/sys.c:886:26: got unsigned int [noderef] [usertype] *suidp Signed-off-by: Lars-Peter Clausen Signed-off-by: Bob Liu --- Reading git-diff-tree failed