aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2025-05-22 10:08:05 +0000
committerTakashi Iwai <[email protected]>2025-05-22 18:29:45 +0000
commit62f134ab190c5fd5c9f68fe638ad8e13bb8a4cb4 (patch)
tree973a0ec0435f13127b7b166840a1502dedd8e2dd /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parentMerge tag 'asoc-fix-v6.15-rc7' of https://git.kernel.org/pub/scm/linux/kernel... (diff)
downloadkernel-62f134ab190c5fd5c9f68fe638ad8e13bb8a4cb4.tar.gz
kernel-62f134ab190c5fd5c9f68fe638ad8e13bb8a4cb4.zip
ALSA: core: fix up bus match const issues.
In commit d69d80484598 ("driver core: have match() callback in struct bus_type take a const *"), the match bus callback was changed to have the driver be a const pointer. Unfortunately that const attribute was thrown away when container_of() is called, which is not correct and was not caught by the compiler due to how container_of() is implemented. Fix this up by correctly preserving the const attribute of the driver passed to the bus match function which requires the hdac_driver match function to also take a const pointer for the driver structure. Cc: Jaroslav Kysela <[email protected]> Cc: Takashi Iwai <[email protected]> Fixes: d69d80484598 ("driver core: have match() callback in struct bus_type take a const *") Signed-off-by: Greg Kroah-Hartman <[email protected]> Link: https://patch.msgid.link/2025052204-hyphen-thermal-3e72@gregkh Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions