aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorFinn Thain <[email protected]>2025-04-24 00:07:26 +0000
committerGeert Uytterhoeven <[email protected]>2025-04-28 20:16:52 +0000
commit52ae3f5da7e5adbe3d1319573b55dac470abb83c (patch)
tree095ceabc3168902bdd16faaa9b041f67e4b31a9d /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentm68k: Replace strcpy() with strscpy() in hardware_proc_show() (diff)
downloadkernel-52ae3f5da7e5adbe3d1319573b55dac470abb83c.tar.gz
kernel-52ae3f5da7e5adbe3d1319573b55dac470abb83c.zip
m68k: mac: Fix macintosh_config for Mac II
When booted on my Mac II, the kernel prints this: Detected Macintosh model: 6 Apple Macintosh Unknown The catch-all entry ("Unknown") is mac_data_table[0] which is only needed in the unlikely event that the bootinfo model ID can't be matched. When model ID is 6, the search should begin and end at mac_data_table[1]. Fix the off-by-one error that causes this problem. Cc: Joshua Thompson <[email protected]> Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Finn Thain <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/d0f30a551064ca4810b1c48d5a90954be80634a9.1745453246.git.fthain@linux-m68k.org Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions