]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: fix a typo in the regex for $allocFunctions
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 21 Apr 2020 01:13:58 +0000 (18:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Apr 2020 18:11:55 +0000 (11:11 -0700)
commitbf734ad7d530d4275ee06e4951f792ce0975d60b
tree5ad91035b244579894118ee833085ede7a20b447
parent1ce4f1959daae2c69c08197ff2aa3cc1997ce248
checkpatch: fix a typo in the regex for $allocFunctions

Here, we look for function such as 'netdev_alloc_skb_ip_align', so a '_'
is missing in the regex.

To make sure:
   grep -r --include=*.c skbip_a * | wc   ==>   0 results
   grep -r --include=*.c skb_ip_a * | wc  ==> 112 results

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