* [PATCH] dh key: Missing a blank line after declarations
@ 2020-06-12 20:34 Frank Werner-Krippendorf
2020-06-17 2:08 ` Jarkko Sakkinen
0 siblings, 1 reply; 2+ messages in thread
From: Frank Werner-Krippendorf @ 2020-06-12 20:34 UTC (permalink / raw)
To: David Howells, Jarkko Sakkinen, James Morris, Serge E. Hallyn,
keyrings, linux-security-module, linux-kernel
Cc: Frank Werner-Krippendorf
This patch fixes a "WARNING: Missing a blank line after declarations" issue found by checkpatch.pl
Signed-off-by: Frank Werner-Krippendorf <mail@hb9fxq.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dh key: Missing a blank line after declarations
2020-06-12 20:34 [PATCH] dh key: Missing a blank line after declarations Frank Werner-Krippendorf
@ 2020-06-17 2:08 ` Jarkko Sakkinen
0 siblings, 0 replies; 2+ messages in thread
From: Jarkko Sakkinen @ 2020-06-17 2:08 UTC (permalink / raw)
To: Frank Werner-Krippendorf
Cc: David Howells, James Morris, Serge E. Hallyn, keyrings,
linux-security-module, linux-kernel
On Fri, Jun 12, 2020 at 10:34:58PM +0200, Frank Werner-Krippendorf wrote:
> This patch fixes a "WARNING: Missing a blank line after declarations" issue found by checkpatch.pl
>
> Signed-off-by: Frank Werner-Krippendorf <mail@hb9fxq.ch>
Umh for which patch?
/Jarkko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-17 2:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-12 20:34 [PATCH] dh key: Missing a blank line after declarations Frank Werner-Krippendorf
2020-06-17 2:08 ` Jarkko Sakkinen
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).