mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Donald Rickett <robert.rickett@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: robert.rickett@gmail.com
Subject: [PATCH] security: keys: compat: fixed coding issue
Date: Wed, 17 Jan 2018 03:59:31 -0600	[thread overview]
Message-ID: <20180117095931.ow77x2gp3evjq6bh@shadow1911> (raw)

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

                 reply	other threads:[~2018-01-17  9:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180117095931.ow77x2gp3evjq6bh@shadow1911 \
    --to=robert.rickett@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®