aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-05-05 12:18:17 -0500
committerMichael Ellerman <[email protected]>2023-05-08 22:57:10 +1000
commit79de36042eecb684e0f748d17ba52f365fde0d65 (patch)
tree5edb1d07b702f1aebcb91f9fd0739726297f3c59 /lib/test_fortify/write_overflow-strcpy.c
parentac9a78681b921877518763ba0e89202254349d1b (diff)
powerpc/isa-bridge: Fix ISA mapping when "ranges" is not present
Commit e4ab08be5b49 ("powerpc/isa-bridge: Remove open coded "ranges" parsing") broke PASemi Nemo board booting. The issue is the ISA I/O range was not getting mapped as the logic to handle no "ranges" was inverted. If phb_io_base_phys is non-zero, then the ISA range defaults to the first 64K of the PCI I/O space. phb_io_base_phys should only be 0 when looking for a non-PCI ISA region. Fixes: e4ab08be5b49 ("powerpc/isa-bridge: Remove open coded "ranges" parsing") Reported-by: Christian Zigotzky <[email protected]> Link: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Rob Herring <[email protected]> Tested-by: Christian Zigotzky <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions