]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
checkpatch: add Crypto ON_STACK to declaration_macros
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 10 Apr 2018 23:33:17 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Apr 2018 17:28:35 +0000 (10:28 -0700)
commit3d102fc0e7b02d4e16752c15aa92923405b01388
tree5c9bf03b0e9819ebb39a29747f86e97edc04fe42
parent9f3a89926d6dfc30a4fd1bbcb92cc7b218d3786d
checkpatch: add Crypto ON_STACK to declaration_macros

Add the crypto API *_ON_STACK to $declaration_macros.

Resolves the following false warning:

WARNING: Missing a blank line after declarations
+ int err;
+ SHASH_DESC_ON_STACK(desc, ctx_p->shash_tfm);

Link: http://lkml.kernel.org/r/1518941636-4484-1-git-send-email-gilad@benyossef.com
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl