Skip to contentSkip to conversation

cxgb4: Add missing null termination of hca_table

PATCH Applied Jason Gunthorpe 2 participants 2 messages Nov 21, 2017 – Nov 22, 2017 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

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
index 3cc1d4c185e97e..da9179fbbe2a8d 100644
@@ -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]