[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20180117095931.ow77x2gp3evjq6bh@shadow1911>
Date: Wed, 17 Jan 2018 03:59:31 -0600
From: Robert Donald Rickett <robert.rickett@...il.com>
To: linux-kernel@...r.kernel.org
Cc: robert.rickett@...il.com
Subject: [PATCH] security: keys: compat: fixed coding issue
This fixes a WARNING: Prefer 'unsigned int'.
Signed-off-by: Robert Donald Rickett <robert.rickett@...il.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
Powered by blists - more mailing lists