]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: improve ALLOC_ARRAY_ARGS test
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 7 May 2021 01:04:01 +0000 (18:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 7 May 2021 02:24:13 +0000 (19:24 -0700)
commit2f642240a1f91ba2482a918916577afd3b850892
treead9e291611809ccfd863e0a5f76dcd2f87196e25
parent796ac04ee75c2d9b4aff8e97ada33018ed91d203
checkpatch: improve ALLOC_ARRAY_ARGS test

The devm_ variant of 'kcalloc()' and 'kmalloc_array()' are not tested
Add the corresponding check.

Link: https://lkml.kernel.org/r/205fc4847972fb6779abcc8818f39c14d1b45af1.1618595794.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl