[PATCH] security: keys: compat: fixed coding issue
From: Robert Donald Rickett
Date: Wed Jan 17 2018 - 04:59:41 EST
This fixes a WARNING: Prefer 'unsigned int'.
Signed-off-by: Robert Donald Rickett <robert.rickett@xxxxxxxxx>
---
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