summaryrefslogtreecommitdiffstats
path: root/include/crypto/cryptd.h
diff options
context:
space:
mode:
authorH Hartley Sweeten2010-01-15 19:25:38 +0100
committerDavid Woodhouse2010-02-25 12:29:48 +0100
commitbcc98a46eafd38968b05e793326f031988c2b2a8 (patch)
tree1ed02d6cdacce5af29bf434eddde5595951fcf61 /include/crypto/cryptd.h
parentmtd: quiet sparse noise in cfi.h (diff)
downloadkernel-qcow2-linux-bcc98a46eafd38968b05e793326f031988c2b2a8.tar.gz
kernel-qcow2-linux-bcc98a46eafd38968b05e793326f031988c2b2a8.tar.xz
kernel-qcow2-linux-bcc98a46eafd38968b05e793326f031988c2b2a8.zip
mtd: fix different address space noise
In mtd_ioctl MEMGETREGIONINFO the region_user_info pointer ur is cast in __kernel space. This produces a number of sparse warnings like: warning: cast removes address space of expression warning: incorrect type in initializer (different address spaces) expected unsigned int const [noderef] <asn:1>*register __p got unsigned int *<noident> Since argp is already a void __user * just use it dirrectly without the cast and make ur a __user *. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/crypto/cryptd.h')
0 files changed, 0 insertions, 0 deletions