mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
c7777236dd
When executed for a PCI_ROOT_COMPLEX type, iort_match_node_callback()
expects the opaque pointer argument to be a PCI bus device. At the
moment rc_dma_get_range() passes the PCI endpoint instead of the bus,
and we've been lucky to have pci_domain_nr(ptr) return 0 instead of
crashing. Pass the bus device to iort_scan_node().
Fixes:
|
||
---|---|---|
.. | ||
gtdt.c | ||
iort.c | ||
Kconfig | ||
Makefile |