On Tue, Jul 07, 2020 at 04:09:31PM +0300, Kamal Heib wrote: > 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") > Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx> > Reviewed-by: Bernard Metzler <bmt@xxxxxxxxxxxxxx> > --- > drivers/infiniband/sw/siw/siw_main.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied to for-rc, thanks Jason