On Tue, 8 Jan 2019 07:11:14 -0800 Li Qiang <liq...@163.com> wrote: > When getting the 'pbdev', the if...else has no default branch. > From Coverity, the 'pbdev' maybe null when the 'dev' is not > the TYPE_PCI_BRIDGE/TYPE_PCI_DEVICE/TYPE_S390_PCI_DEVICE. > This patch adds a default branch for device plug and unplug. > > Spotted by Coverity: CID 1398593 > > Signed-off-by: Li Qiang <liq...@163.com>
Reviewed-by: Halil Pasic <pa...@linux.ibm.com> [..]