Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ia64/PCI: Fix incorrect PCI resource end address
commit f976721 ("ia64/PCI: Use ioremap() instead of open-coded equivalent") introduced the following compiler warning, arch/ia64/sn/kernel/io_init.c: In function 'sn_io_slot_fixup': arch/ia64/sn/kernel/io_init.c:189:19: warning: 'addr' may be used uninitialized in this function [-Wmaybe-uninitialized] res->end = addr + size; ^ 'addr' is indeed uninitialised and the correct value to use is res->start. Cc: Tony Luck <[email protected]> Cc: Fenghua Yu <[email protected]> Cc: Bjorn Helgaas <[email protected]> Signed-off-by: Matt Fleming <[email protected]> Signed-off-by: Tony Luck <[email protected]>
- Loading branch information