|
@@ -80,7 +80,7 @@ const char *__attribute_const__ iwcm_reject_msg(int reason)
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(iwcm_reject_msg);
|
|
EXPORT_SYMBOL(iwcm_reject_msg);
|
|
|
|
|
|
-static struct rdma_nl_cbs iwcm_nl_cb_table[] = {
|
|
|
|
|
|
+static struct rdma_nl_cbs iwcm_nl_cb_table[RDMA_NL_IWPM_NUM_OPS] = {
|
|
[RDMA_NL_IWPM_REG_PID] = {.dump = iwpm_register_pid_cb},
|
|
[RDMA_NL_IWPM_REG_PID] = {.dump = iwpm_register_pid_cb},
|
|
[RDMA_NL_IWPM_ADD_MAPPING] = {.dump = iwpm_add_mapping_cb},
|
|
[RDMA_NL_IWPM_ADD_MAPPING] = {.dump = iwpm_add_mapping_cb},
|
|
[RDMA_NL_IWPM_QUERY_MAPPING] = {.dump = iwpm_add_and_query_mapping_cb},
|
|
[RDMA_NL_IWPM_QUERY_MAPPING] = {.dump = iwpm_add_and_query_mapping_cb},
|