Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
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 (Jan 14, 2026, 10:43 PM UTC) Commit
Copy SHA
Parent 2932ba8d 2932ba8d9c99875b98c951d9d3fd6d651d35df3a