cxgb4: Add missing null termination of hca_table
PATCH 1/1 cxgb4: Add missing null termination of hca_table
Otherwise there are random crashes during device discovery.
--- providers/cxgb3/iwch.c | 1 + 1 file changed, 1 insertion(+)
Fix a little typo I made when reworking the init scheme.
https://github.com/linux-rdma/rdma-core/pull/262
providers/cxgb3/iwch.c +1 -0
@@ -72,6 +72,7 @@ static const struct verbs_match_ent hca_table[] = {HCA (CHELSIO ,T3B02 ,T3B ),HCA (CHELSIO ,T3C20 ,T3B ), HCA(CHELSIO, S320E, T3B), + {}, }; static struct ibv_context_ops iwch_ctx_ops = {
Signature · 6 lines
2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 20171121152717.GA18003-uk2M96/[email protected]
Leon Romanovsky
AppliedQuoted 7 lines · Jason Gunthorpe
Otherwise there are random crashes during device discovery.
--- providers/cxgb3/iwch.c | 1 + 1 file changed, 1 insertion(+)
Thanks, applied