summaryrefslogtreecommitdiff
path: root/drivers/iio/multiplexer/Kconfig
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-04-25 23:14:32 -0700
committerLouis Chauvet <contact@louischauvet.fr>2025-05-06 10:17:00 +0200
commit258aebf100540d36aba910f545d4d5ddf4ecaf0b (patch)
treefc5864a29ab1b410a3734aa0128122af7949b2b3 /drivers/iio/multiplexer/Kconfig
parent6a5ca33b88b5cd6ff216593dc8d13c8b4bef6704 (diff)
drm/vkms: Adjust vkms_state->active_planes allocation typeHEADfor-linux-nextdrm-misc-next
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 vkms_plane_state **", but the returned type will be "struct drm_plane **". These are the same size (pointer size), but the types don't match. Adjust the allocation type to match the assignment. Signed-off-by: Kees Cook <kees@kernel.org> Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Fixes: 8b1865873651 ("drm/vkms: totally reworked crc data tracking") Link: https://lore.kernel.org/r/20250426061431.work.304-kees@kernel.org Signed-off-by: Louis Chauvet <contact@louischauvet.fr>
Diffstat (limited to 'drivers/iio/multiplexer/Kconfig')
0 files changed, 0 insertions, 0 deletions