linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rdma-core] cxgb4: Add missing null termination of hca_table
@ 2017-11-21 15:27 Jason Gunthorpe
       [not found] ` <20171121152717.GA18003-uk2M96/98Pc@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Gunthorpe @ 2017-11-21 15:27 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Otherwise there are random crashes during device discovery.

Signed-off-by: Jason Gunthorpe <jgg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 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

diff --git a/providers/cxgb3/iwch.c b/providers/cxgb3/iwch.c
index 3cc1d4c185e97e..da9179fbbe2a8d 100644
--- a/providers/cxgb3/iwch.c
+++ b/providers/cxgb3/iwch.c
@@ -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 = {
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH rdma-core] cxgb4: Add missing null termination of hca_table
       [not found] ` <20171121152717.GA18003-uk2M96/98Pc@public.gmane.org>
@ 2017-11-22  9:43   ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2017-11-22  9:43 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 299 bytes --]

On Tue, Nov 21, 2017 at 08:27:17AM -0700, Jason Gunthorpe wrote:
> Otherwise there are random crashes during device discovery.
>
> Signed-off-by: Jason Gunthorpe <jgg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
>  providers/cxgb3/iwch.c | 1 +
>  1 file changed, 1 insertion(+)
>

Thanks, applied

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-22  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 15:27 [PATCH rdma-core] cxgb4: Add missing null termination of hca_table Jason Gunthorpe
     [not found] ` <20171121152717.GA18003-uk2M96/98Pc@public.gmane.org>
2017-11-22  9:43   ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).