This patch fixes a "WARNING: Missing a blank line after declarations" issue found by checkpatch.pl
Signed-off-by: Frank Werner-Krippendorf <[email protected]>
---
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
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 <[email protected]>
Umh for which patch?
/Jarkko