Skip to content
Commit 2eb5ebd3 authored by Junchang Wang's avatar Junchang Wang Committed by Jesse Barnes
Browse files

PCI: check return value of pci_enable_device() when enabling bridges



pci_enable_device can fail. In that case, a printed warning would be
more appropriate.

Signed-off-by: default avatarJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: default avatarJunchang Wang <junchangwang@gmail.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent 7736a05a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment