[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220816180110.8625-1-gaoxin@cdjrlc.com>
Date: Wed, 17 Aug 2022 02:01:10 +0800
From: Xin Gao <gaoxin@...rlc.com>
To: dhowells@...hat.com, jarkko@...nel.org
Cc: jmorris@...ei.org, serge@...lyn.com, keyrings@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, Xin Gao <gaoxin@...rlc.com>
Subject: [PATCH] KEYS: Variable type completion
'unsigned int' is better than 'unsigned'.
Signed-off-by: Xin Gao <gaoxin@...rlc.com>
---
security/keys/keyctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/security/keys/keyctl.c b/security/keys/keyctl.c
index 96a92a645216..4564505e7594 100644
--- a/security/keys/keyctl.c
+++ b/security/keys/keyctl.c
@@ -44,7 +44,7 @@ static const unsigned char keyrings_capabilities[2] = {
static int key_get_type_from_user(char *type,
const char __user *_type,
- unsigned len)
+ unsigned int len)
{
int ret;
--
2.30.2
Powered by blists - more mailing lists