diff mbox series

dh key: Missing a blank line after declarations

Message ID 20200612203458.13517-1-mail@hb9fxq.ch (mailing list archive)
State New, archived
Headers show
Series dh key: Missing a blank line after declarations | expand

Commit Message

Frank Werner-Krippendorf June 12, 2020, 8:34 p.m. UTC
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(+)

Comments

Jarkko Sakkinen June 17, 2020, 2:08 a.m. UTC | #1
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
diff mbox series

Patch

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 {