diff options
| author | 2021-08-06 12:12:11 +0200 | |
|---|---|---|
| committer | 2021-08-25 11:03:32 +0200 | |
| commit | 81a076171e72dcb6545a8a508b800aec59d6e82b (patch) | |
| tree | c36c9666954b21724defb0df45d51814d11cce19 /tools/include/trace/git:/ssh: | |
| parent | s390/pci: cleanup resources only if necessary (diff) | |
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>
Diffstat (limited to 'tools/include/trace/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
