aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYongqin Liu <[email protected]>2023-02-10 14:15:07 +0000
committerRafael J. Wysocki <[email protected]>2023-02-15 16:29:33 +0000
commit15cc25829a97c3957e520e971868aacc84341317 (patch)
tree32b91f596354e83df4a03fb711efde0b9a60acad /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentthermal/drivers/rcar_gen3_thermal: Fix device initialization (diff)
downloadkernel-15cc25829a97c3957e520e971868aacc84341317.tar.gz
kernel-15cc25829a97c3957e520e971868aacc84341317.zip
thermal/drivers/hisi: Drop second sensor hi3660
The commit 74c8e6bffbe1 ("driver core: Add __alloc_size hint to devm allocators") exposes a panic "BRK handler: Fatal exception" on the hi3660_thermal_probe funciton. This is because the function allocates memory for only one sensors array entry, but tries to fill up a second one. Fix this by removing the unneeded second access. Fixes: 7d3a2a2bbadb ("thermal/drivers/hisi: Fix number of sensors on hi3660") Signed-off-by: Yongqin Liu <[email protected]> Link: https://lore.kernel.org/linux-mm/[email protected]/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions