aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/lib/py/load.py
diff options
context:
space:
mode:
authorNiklas Schnelle <[email protected]>2025-04-30 13:26:18 +0000
committerHeiko Carstens <[email protected]>2025-05-07 11:35:05 +0000
commit42420c50c68f3e95e90de2479464f420602229fc (patch)
treef2f251be42eb97eac81a1a0a40700648239b270f /tools/testing/selftests/drivers/net/lib/py/load.py
parents390: Update defconfigs (diff)
downloadkernel-42420c50c68f3e95e90de2479464f420602229fc.tar.gz
kernel-42420c50c68f3e95e90de2479464f420602229fc.zip
s390/pci: Fix missing check for zpci_create_device() error return
The zpci_create_device() function returns an error pointer that needs to be checked before dereferencing it as a struct zpci_dev pointer. Add the missing check in __clp_add() where it was missed when adding the scan_list in the fixed commit. Simply not adding the device to the scan list results in the previous behavior. Cc: [email protected] Fixes: 0467cdde8c43 ("s390/pci: Sort PCI functions prior to creating virtual busses") Signed-off-by: Niklas Schnelle <[email protected]> Reviewed-by: Gerd Bayer <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/load.py')
0 files changed, 0 insertions, 0 deletions