summaryrefslogtreecommitdiff
path: root/Documentation/console/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2026-02-06 14:21:52 -0800
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>2026-02-24 01:28:18 +0200
commit6f6f3535192dd597c5326ea5456ae3bafc7d43b2 (patch)
treeeeeed8e69fd19de24572dc8e7fffbf92a4061e1d /Documentation/console/git@git.tavy.me:linux.git
parentf7bf1319739291067b2bc4b22bd56336afad8f0a (diff)
drm/msm: Adjust msm_iommu_pagetable_prealloc_allocate() 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 "void **" but the returned type will be "void ***". These are the same allocation size (pointer size), but the types do not match. Adjust the allocation type to match the assignment. Signed-off-by: Kees Cook <kees@kernel.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/703588/ Link: https://lore.kernel.org/r/20260206222151.work.016-kees@kernel.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Diffstat (limited to 'Documentation/console/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions