diff options
author | Chris Wright <chrisw@sous-sol.org> | 2008-04-21 16:02:48 -0700 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-01 09:47:14 -0500 |
commit | aff427a1ca09945082a4ec21aee2960306800fb0 (patch) | |
tree | 9aa24e8dbc09dc035a99e034c0347d2c7da3c919 /target-alpha/helper.h | |
parent | e6a6dfe454c6b43abf9d5df8170950c4a9f28920 (diff) |
Pci nic: pci_register_device can fail
The pci_register_device() call in PCI nic initialization routines can
fail. Handle this failure and propagate a meaningful error message to
the user instead of generating a SEGV.
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-alpha/helper.h')
0 files changed, 0 insertions, 0 deletions