summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorMark Kettenis <[email protected]>2025-08-23 16:03:56 +0200
committerTom Rini <[email protected]>2025-09-09 11:04:16 -0600
commita5b483a52a5561030ab3e50923a215fbed49d006 (patch)
tree0b37b8313c42fb72022362d06131af362e5df56b /include/linux/linux_string.h
parentae84ef8c625f6454747b5d13192e1a16649761b2 (diff)
pci: apple: Fix use of uninitialized variable
Replace use of uninitialized variable with the PCI device number in an error message as this is what we use elsewhere to derive the PCIe port number. Use ofnode_read_pci_addr() to read the PCI address of the node and derive the device number from that. Signed-off-by: Mark Kettenis <[email protected]> Reported-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions