diff options
| author | Kees Cook <kees@kernel.org> | 2026-08-09 12:41:08 -0700 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-11-05 21:55:49 -0800 |
| commit | bcd347f31e84ecfb1e45be488b1c7c835b8feb4c (patch) | |
| tree | b8cb15bc70805420800f17c8df03ebcddf87a35d /tools/lib/python/feat | |
| parent | 0af298e62e5cff4ebf9bec47b8711177a7e2f115 (diff) | |
coccinelle: kmalloc_obj: Include devm_kmalloc_obj conversion rules
Mirroring the kmalloc -> kmalloc_obj conversion rules, do the same for
devm_kmalloc. The device-managed allocators differ only by taking the
managing "struct device *" as a leading argument, so capture the leading
arguments in an "expression list" metavariable rather than repeating
every pattern.
Signed-off-by: Kees Cook <kees@kernel.org>
Cc: Julia Lawall <Julia.Lawall@inria.fr>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Cc: <cocci@inria.fr>
Diffstat (limited to 'tools/lib/python/feat')
0 files changed, 0 insertions, 0 deletions
