Commit fa2ab27
tree: Ignore NULL address pointer for phy slot lookup
The PCI physical slot lookup works obviously only for physical cards.
Thus do not try to dereference the address pointer if it is a NULL
pointer.
Fixes: 42ac453 ("tree: Add PCI physical slot number for controller")
Signed-off-by: Daniel Wagner <[email protected]>1 parent ac1584a commit fa2ab27
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1274 | 1274 | | |
1275 | 1275 | | |
1276 | 1276 | | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
1277 | 1280 | | |
1278 | 1281 | | |
1279 | 1282 | | |
| |||
0 commit comments