aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/key-type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/key-type.h')
-rw-r--r--include/linux/key-type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/key-type.h b/include/linux/key-type.h
index 4ded94bcf274..2ab2d6d6aeab 100644
--- a/include/linux/key-type.h
+++ b/include/linux/key-type.h
@@ -127,7 +127,7 @@ struct key_type {
* much is copied into the buffer
* - shouldn't do the copy if the buffer is NULL
*/
- long (*read)(const struct key *key, char __user *buffer, size_t buflen);
+ long (*read)(const struct key *key, char *buffer, size_t buflen);
/* handle request_key() for this type instead of invoking
* /sbin/request-key (optional)