Re: [PATCH] drm/msm: Adjust msm_iommu_pagetable_prealloc_allocate() allocation type

From: Dmitry Baryshkov

Date: Mon Feb 23 2026 - 23:06:10 EST


On Fri, 06 Feb 2026 14:21:52 -0800, Kees Cook wrote:
> 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.
>
> [...]

Applied to msm-fixes, thanks!

[1/1] drm/msm: Adjust msm_iommu_pagetable_prealloc_allocate() allocation type
https://gitlab.freedesktop.org/lumag/msm/-/commit/6f6f3535192d

Best regards,
--
With best wishes
Dmitry