lkml.org 
[lkml]   [2018]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] security: keys: compat: fixed coding issue
This fixes a WARNING: Prefer 'unsigned int'.

Signed-off-by: Robert Donald Rickett <robert.rickett@gmail.com>
---
security/keys/compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/keys/compat.c b/security/keys/compat.c
index e87c89c0177c..c68b603d9b40 100644
--- a/security/keys/compat.c
+++ b/security/keys/compat.c
@@ -27,7 +27,7 @@
static long compat_keyctl_instantiate_key_iov(
key_serial_t id,
const struct compat_iovec __user *_payload_iov,
- unsigned ioc,
+ unsigned int ioc,
key_serial_t ringid)
{
struct iovec iovstack[UIO_FASTIOV], *iov = iovstack;
--
2.14.1
\
 
 \ /
  Last update: 2018-01-18 00:20    [W:0.094 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site