mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] security: keys: compat: fixed coding issue
@ 2018-01-17  9:59 Robert Donald Rickett
  0 siblings, 0 replies; only message in thread
From: Robert Donald Rickett @ 2018-01-17  9:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: robert.rickett

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-17  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-17  9:59 [PATCH] security: keys: compat: fixed coding issue Robert Donald Rickett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®