summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5670.c
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2022-09-21 23:45:59 +0200
committerAlex Deucher <alexander.deucher@amd.com>2022-09-30 17:21:25 +0200
commitb292cafe2dd02d96a07147e4b160927e8399d5cc (patch)
treef9dff8785fcb8d2b4590086da31a608316628c70 /sound/soc/codecs/rt5670.c
parentdrm/amdkfd: Track unified memory when switching xnack mode (diff)
downloadlinux-b292cafe2dd02d96a07147e4b160927e8399d5cc.tar.xz
linux-b292cafe2dd02d96a07147e4b160927e8399d5cc.zip
drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
This was fixed in initialize_cpsch before, but not in initialize_nocpsch. Factor sdma bitmap initialization into a helper function to apply the correct implementation in both cases without duplicating it. v2: Added a range check Reported-by: Ellis Michael <ellis@ellismichael.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Graham Sider <Graham.Sider@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'sound/soc/codecs/rt5670.c')
0 files changed, 0 insertions, 0 deletions