aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <[email protected]>2025-01-23 12:32:49 +0000
committerGreg Kroah-Hartman <[email protected]>2025-02-20 14:21:34 +0000
commit6d991f569c5ef6eaeadf1238df2c36e3975233ad (patch)
tree1f2426e4f187c4339f485931e8106b18bd387dea /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parenteeprom: digsy_mtc: Make GPIO lookup table match the device (diff)
downloadkernel-6d991f569c5ef6eaeadf1238df2c36e3975233ad.tar.gz
kernel-6d991f569c5ef6eaeadf1238df2c36e3975233ad.zip
char: misc: deallocate static minor in error path
When creating sysfs files fail, the allocated minor must be freed such that it can be later reused. That is specially harmful for static minor numbers, since those would always fail to register later on. Fixes: 6d04d2b554b1 ("misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors") Cc: stable <[email protected]> Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions