summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-12-03 15:30:32 -0800
committerKees Cook <kees@kernel.org>2026-01-14 14:43:01 -0800
commit070580b0b1740a4b930f367d21fdb5b253a8b3fb (patch)
tree152887123b266a178226297cd9004944e3f87c9d /include/linux
parent2932ba8d9c99875b98c951d9d3fd6d651d35df3a (diff)
checkpatch: Suggest kmalloc_obj family for sizeof allocations
To support shifting away from sized allocation towards typed allocations, suggest the kmalloc_obj family of macros when a sizeof() is present in the argument lists. Link: https://patch.msgid.link/20251203233036.3212363-2-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions