aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2025-01-20 14:09:40 +0000
committerRob Herring (Arm) <[email protected]>2025-01-24 21:59:23 +0000
commit15e2f65f2ecfeb8e39315522e2b5cfdc5651fc10 (patch)
tree70d5b8371040882b019cf60ad63fb7fb739e5ae6 /scripts/extract-fwblobs
parentof/fdt: Restore possibility to use both ACPI and FDT from bootloader (diff)
downloadkernel-15e2f65f2ecfeb8e39315522e2b5cfdc5651fc10.tar.gz
kernel-15e2f65f2ecfeb8e39315522e2b5cfdc5651fc10.zip
of: address: Fix empty resource handling in __of_address_resource_bounds()
"resource->end" needs to always be equal to "resource->start + size - 1". The previous version of the function did not perform the "- 1" in case of an empty resource. Also make sure to allow an empty resource at address 0. Reported-by: Basharath Hussain Khaja <[email protected]> Closes: https://lore.kernel.org/lkml/[email protected]/ Fixes: 1a52a094c2f0 ("of: address: Unify resource bounds overflow checking") Cc: [email protected] Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions