diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-05-31 18:05:56 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-07 01:19:07 +0200 |
commit | da1f857be62ca0472024da37eab068b3b8ce0a15 (patch) | |
tree | a94ed310233f1fa87a411ab7e6c48657f1c47792 /drivers/infiniband/Kconfig | |
parent | IB/hfi1: Avoid large frame size warning (diff) | |
download | linux-da1f857be62ca0472024da37eab068b3b8ce0a15.tar.xz linux-da1f857be62ca0472024da37eab068b3b8ce0a15.zip |
IB/core: fix an error code in ib_core_init()
We should return the error code if ib_add_ibnl_clients() fails. The
current code returns success.
Fixes: 735c631ae99d ('IB/core: Register SA ibnl client during ib_core initialization')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/Kconfig')
0 files changed, 0 insertions, 0 deletions