commit 5799b255c491 ("include/linux/slab.h: add kmalloc_array_node() and kcalloc_node()") was added in 2017. Update the unnecessary OOM message test to include it.
Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all
Unified · Split
| @@ -487,7 +487,7 @@ our $logFunctions = qr{(?x: · 486 unmodified lines | ||
| 487 | 487 | |
| 488 | 488 | our $allocFunctions = qr{(?x: |
| 489 | 489 | (?:(?:devm_)? |
| 490 | − (?:kv|k|v)[czm]alloc(?:_node|_array)? | | |
| 490 | + (?:kv|k|v)[czm]alloc(?:_array)?(?:_node)? | | |
| 491 | 491 | kstrdup(?:_const)? | |
| 492 | 492 | kmemdup(?:_nul)?) | |
| 493 | 493 | (?:\w+)?alloc_skb(?:_ip_align)? | |