On Tue, 30 Nov 2021 20:16:27 -0800, Igor Pylypiv wrote: > Calling scsi_remove_host() before scsi_add_host() results in a crash: > > BUG: kernel NULL pointer dereference, address: 0000000000000108 > RIP: 0010:device_del+0x63/0x440 > Call Trace: > device_unregister+0x17/0x60 > scsi_remove_host+0xee/0x2a0 > pm8001_pci_probe+0x6ef/0x1b90 [pm80xx] > local_pci_probe+0x3f/0x90 > > [...] Applied to 5.16/scsi-fixes, thanks! [1/1] scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc() https://git.kernel.org/mkp/scsi/c/653926205741 -- Martin K. Petersen Oracle Linux Engineering