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
Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all
Unified · Split
| @@ -479,7 +479,7 @@ our $allocFunctions = qr{(?x: · 478 unmodified lines | ||
| 479 | 479 | (?:kv|k|v)[czm]alloc(?:_node|_array)? | |
| 480 | 480 | kstrdup(?:_const)? | |
| 481 | 481 | kmemdup(?:_nul)?) | |
| 482 | − (?:\w+)?alloc_skb(?:ip_align)? | | |
| 482 | + (?:\w+)?alloc_skb(?:_ip_align)? | | |
| 483 | 483 | # dev_alloc_skb/netdev_alloc_skb, et al |
| 484 | 484 | dma_alloc_coherent |
| 485 | 485 | )}; |