mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
IB/usnic: Fix error return code
If 'pci_register_driver' fails, we return 'err' which is known to be 0. Return the error instead. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
57bb562ad4
commit
86cd747c6d
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue