mirror of https://github.com/torvalds/linux.git
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| iwarp.h | ||
| siw.h | ||
| siw_cm.c | ||
| siw_cm.h | ||
| siw_cq.c | ||
| siw_main.c | ||
| siw_mem.c | ||
| siw_mem.h | ||
| siw_qp.c | ||
| siw_qp_rx.c | ||
| siw_qp_tx.c | ||
| siw_verbs.c | ||
| siw_verbs.h | ||