[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200612203458.13517-1-mail@hb9fxq.ch>
Date: Fri, 12 Jun 2020 22:34:58 +0200
From: Frank Werner-Krippendorf <mail@...fxq.ch>
To: David Howells <dhowells@...hat.com>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
James Morris <jmorris@...ei.org>,
"Serge E. Hallyn" <serge@...lyn.com>, keyrings@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Frank Werner-Krippendorf <mail@...fxq.ch>
Subject: [PATCH] dh key: Missing a blank line after declarations
This patch fixes a "WARNING: Missing a blank line after declarations" issue found by checkpatch.pl
Signed-off-by: Frank Werner-Krippendorf <mail@...fxq.ch>
---
security/keys/dh.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/security/keys/dh.c b/security/keys/dh.c
index c4c629bb1c03..5515f51e62db 100644
--- a/security/keys/dh.c
+++ b/security/keys/dh.c
@@ -161,6 +161,7 @@ static int kdf_ctr(struct kdf_sdesc *sdesc, const u8 *src, unsigned int slen,
if (zlen && h) {
u8 tmpbuffer[32];
size_t chunk = min_t(size_t, zlen, sizeof(tmpbuffer));
+
memset(tmpbuffer, 0, chunk);
do {
--
2.20.1
Powered by blists - more mailing lists