Skip to contentSkip to conversation

security: keys: compat: fixed coding issue

PATCH New Robert Donald Rickett 1 participant 1 message Jan 17, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 security: keys: compat: fixed coding issue

This fixes a WARNING: Prefer 'unsigned int'.

---
 security/keys/compat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/keys/compat.c +1 -1
index e87c89c0177c..c68b603d9b40 100644
@@ -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;
Signature · 1 line
2.14.1