linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Xin Gao <gaoxin@cdjrlc.com>
To: dhowells@redhat.com, jarkko@kernel.org
Cc: jmorris@namei.org, serge@hallyn.com, keyrings@vger.kernel.org,
	linux-security-module@vger.kernel.org,
	linux-kernel@vger.kernel.org, Xin Gao <gaoxin@cdjrlc.com>
Subject: [PATCH] keys: Variable type completion
Date: Wed, 17 Aug 2022 02:04:38 +0800	[thread overview]
Message-ID: <20220816180438.8807-1-gaoxin@cdjrlc.com> (raw)

'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin@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


             reply	other threads:[~2022-08-16 18:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16 18:04 Xin Gao [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-16 18:01 [PATCH] KEYS: Variable type completion Xin Gao
2022-08-16 18:14 ` Al Viro

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=20220816180438.8807-1-gaoxin@cdjrlc.com \
    --to=gaoxin@cdjrlc.com \
    --cc=dhowells@redhat.com \
    --cc=jarkko@kernel.org \
    --cc=jmorris@namei.org \
    --cc=keyrings@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=serge@hallyn.com \
    /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;
as well as URLs for NNTP newsgroup(s).