diff options
| author | Kamal Heib <[email protected]> | 2020-07-07 16:09:31 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-07-08 09:24:45 -0300 |
| commit | 04340645f69ab7abb6f9052688a60f0213b3f79c (patch) | |
| tree | 528dd7b4b54d6b683f602c8423315d8afdf8bd1d /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | f427f4d6214c183c474eeb46212d38e6c7223d6a (diff) | |
RDMA/siw: Fix reporting vendor_part_id
Move the initialization of the vendor_part_id to be before calling
ib_register_device(), this is needed because the query_device() callback
is called from the context of ib_register_device() before initializing the
vendor_part_id, so the reported value is wrong.
Fixes: bdcf26bf9b3a ("rdma/siw: network and RDMA core interface")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kamal Heib <[email protected]>
Reviewed-by: Bernard Metzler <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions