aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorPo Liu <po.liu@nxp.com>2016-08-29 15:28:01 +0800
committerBjorn Helgaas <bhelgaas@google.com>2016-09-12 16:23:38 -0500
commit156c55325d30261d250e88ed3a39f22008f4ca16 (patch)
tree2a9d74672916907e1ebd627a731fd0609aeaba39 /net/lapb/lapb_timer.c
parent8e2e03179923479ca0c0b6fdc7c93ecf89bce7a8 (diff)
downloadlinux-156c55325d30261d250e88ed3a39f22008f4ca16.tar.gz
linux-156c55325d30261d250e88ed3a39f22008f4ca16.tar.bz2
linux-156c55325d30261d250e88ed3a39f22008f4ca16.zip
PCI: Check for pci_setup_device() failure in pci_iov_add_virtfn()
If pci_setup_device() returns failure, we must return failure from pci_iov_add_virtfn(). If we ignore the failure and continue with an uninitialized pci_dev for virtfn, we crash later when we try to use those uninitialized parts. Signed-off-by: Po Liu <po.liu@nxp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions