[PATCH] keys: Variable type completion

Xin Gao gaoxin at cdjrlc.com
Tue Aug 16 18:04:38 UTC 2022


'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin at cdjrlc.com>
---
 security/keys/gc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/keys/gc.c b/security/keys/gc.c
index 3c90807476eb..433a96e26930 100644
--- a/security/keys/gc.c
+++ b/security/keys/gc.c
@@ -13,7 +13,7 @@
 /*
  * Delay between key revocation/expiry in seconds
  */
-unsigned key_gc_delay = 5 * 60;
+unsigned int key_gc_delay = 5 * 60;
 
 /*
  * Reaper for unused keys.
-- 
2.30.2



More information about the Linux-security-module-archive mailing list