aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2024-05-08 21:47:00 +0300
committerGreg Kroah-Hartman <[email protected]>2024-06-04 17:47:08 +0200
commit761b4cf31741b2d0beda5de4c36253b553939263 (patch)
tree05d5553b11785afaa9d35f108c5c9a8e8bb76724 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parent163898508f96efaafaa87000c7c4bbf711a34bd9 (diff)
misc: eeprom_93xx46: Convert to use kstrtox()
sscanf() is a heavy one and moreover requires additional boundary checks. Convert driver to use kstrtobool() in eeprom_93xx46_store_erase(). Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[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_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions