summaryrefslogtreecommitdiff
path: root/scripts/gen_ksymdeps.sh
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2019-03-07 16:28:35 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-03-07 18:32:01 -0800
commite29a70f1537b1225daceae8d34bf5bfb80546138 (patch)
tree27b91961f33676c2ce3a94cff02729dbdfd7795c /scripts/gen_ksymdeps.sh
parentfdf13693d370653013eec3bc7f80a3f535001bf0 (diff)
downloadlwn-e29a70f1537b1225daceae8d34bf5bfb80546138.tar.gz
lwn-e29a70f1537b1225daceae8d34bf5bfb80546138.zip
checkpatch: add some new alloc functions to various tests
Many new generic allocation functions like the kvmalloc family have been added recently to the kernel. The allocation functions test now includes: o kvmalloc and variants o kstrdup_const o kmemdup_nul o dma_alloc_coherent o alloc_skb and variants Add a separate $allocFunctions variable to help make the allocation functions test a bit more readable. Miscellanea: o Use $allocFunctions in the unnecessary OOM message test and add exclude uses with __GFP_NOWARN o Use $allocFunctions in the unnecessary cast test o Add the kvmalloc family to the preferred sizeof alloc style foo = kvmalloc(sizeof(*foo), ...) Link: http://lkml.kernel.org/r/a5e60a2b93e10baf84af063f6c8e56402273105d.camel@perches.com Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gen_ksymdeps.sh')
0 files changed, 0 insertions, 0 deletions