Skip to contentSkip to conversation

KEYS: Variable type completion

PATCH In review Xin Gao 2 participants 2 messages Aug 16, 2022

Subsystems (2)
lore
Share & tools
lore

Xin Gao

author
#0 lore raw

PATCH 1/1 KEYS: Variable type completion

'unsigned int' is better than 'unsigned'.

---
 security/keys/keyctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
security/keys/keyctl.c +1 -1
index 96a92a645216..4564505e7594 100644
@@ -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;
 
Signature · 1 line
2.30.2
#1 lore raw
Quoted 1 line · Xin Gao

'unsigned int' is better than 'unsigned'.

Explain.

You keep sending rather pointless patches with declarative commit messages instead of explanations. Why is 'unsigned int' better than 'unsigned'? Demonstrate understanding - simple reference to checkpatch.pl does *NOT* count.