aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2022-09-21 21:45:59 +0000
committerAlex Deucher <[email protected]>2022-09-30 15:21:25 +0000
commitb292cafe2dd02d96a07147e4b160927e8399d5cc (patch)
treef9dff8785fcb8d2b4590086da31a608316628c70 /drivers/fpga/fpga-mgr.c
parentdrm/amdkfd: Track unified memory when switching xnack mode (diff)
downloadkernel-b292cafe2dd02d96a07147e4b160927e8399d5cc.tar.gz
kernel-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 <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Graham Sider <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions