diff options
| author | Kees Cook <kees@kernel.org> | 2025-12-03 15:30:32 -0800 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2026-01-14 14:43:01 -0800 |
| commit | 070580b0b1740a4b930f367d21fdb5b253a8b3fb (patch) | |
| tree | 152887123b266a178226297cd9004944e3f87c9d /include/linux | |
| parent | 2932ba8d9c99875b98c951d9d3fd6d651d35df3a (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
