summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-04-25 23:17:08 -0700
committerKees Cook <kees@kernel.org>2026-02-19 10:05:20 -0800
commita3fab954405e61f593f57bdb3510e304c6a0aa80 (patch)
treee4a127e898cdac9f85e3c18deca954eaec7b2842 /include/linux/i2c/git@git.tavy.me:linux.git
parentc6fcccd5398775624582777776113dd220db2bbd (diff)
dm: dm-zoned: Adjust dmz_load_mapping() allocation type
In preparation for making the kmalloc family of allocators type aware, we need to make sure that the returned type from the allocation matches the type of the variable being assigned. (Before, the allocator would always return "void *", which can be implicitly cast to any pointer type.) The assigned type is "struct dmz_mblock **" but the returned type will be "struct dmz_mblk **". These are the same allocation size (pointer size), but the types do not match. Adjust the allocation type to match the assignment. Link: https://patch.msgid.link/20250426061707.work.587-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions