(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

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>


Author Kees Cook Date Commit Parent 2932ba8d
+33 -6
1 changed file
+33 -6
1 changed file