summaryrefslogtreecommitdiffstats
path: root/cryptodev_int.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-07-26 18:53:13 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-07-26 20:24:56 +0200
commitb7c63f7f6ec4288b30f3ac0c142bda555d212502 (patch)
tree43283575651c74d08126a3bb8629602fc303082a /cryptodev_int.h
parent935be4945512eb37461a226c51ede5e8b05cbe24 (diff)
downloadkernel-crypto-b7c63f7f6ec4288b30f3ac0c142bda555d212502.tar.gz
kernel-crypto-b7c63f7f6ec4288b30f3ac0c142bda555d212502.tar.xz
kernel-crypto-b7c63f7f6ec4288b30f3ac0c142bda555d212502.zip
sparse: Fix __user annotations
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r--cryptodev_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h
index 3c6eca475a2..b4059febbb0 100644
--- a/cryptodev_int.h
+++ b/cryptodev_int.h
@@ -25,7 +25,7 @@
extern int cryptodev_verbosity;
/* For zero copy */
-int __get_userbuf(uint8_t *addr, uint32_t len, int write,
+int __get_userbuf(uint8_t __user *addr, uint32_t len, int write,
int pgcount, struct page **pg, struct scatterlist *sg);
void release_user_pages(struct page **pg, int pagecount);