commit | 86cd747c6dd6cdbc825e36ad5f0029f3c5a37776 | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Wed Aug 10 17:45:01 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Mon Aug 22 14:31:43 2016 -0400 |
tree | 607e3bceedbb6f5b6f11ca857d73cb0f725b1d7d | |
parent | 57bb562ad4651453c9f20d506a65e46e4d11042f [diff] |
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>