Niklas Schnelle 81a076171e s390/pci: reset zdev->zbus on registration failure
On failure to register a struct zpci_dev with a struct zpci_bus we left
a dangling pointer in zdev->zbus. As zpci_create_device() bails if
zpci_bus_device_register() fails this is of no consequence but still bad
practice.

Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-08-25 11:03:32 +02:00
..
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-07-17 15:58:24 -07:00
2021-07-23 10:09:27 -07:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-07-21 15:51:37 +02:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-07-25 10:33:48 -07:00
2021-07-10 11:01:38 -07:00
2021-07-11 11:06:09 -07:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00