From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hefty, Sean" Subject: RE: [PATCH REPOST FIXES for-3.11 1/4] IB/core: Create QP1 using the pkey index which contains the default pkey Date: Wed, 17 Jul 2013 16:31:10 +0000 Message-ID: <1828884A29C6694DAF28B7E6B8A82373805B82BE@ORSMSX109.amr.corp.intel.com> References: <1374070962-328-1-git-send-email-ogerlitz@mellanox.com> <1374070962-328-2-git-send-email-ogerlitz@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <1374070962-328-2-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> Content-Language: en-US Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Or Gerlitz , "roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "erezsh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org" , "jackm-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org" List-Id: linux-rdma@vger.kernel.org > diff --git a/drivers/infiniband/core/mad.c b/drivers/infiniband/core/mad.c > index dc3fd1e..9be6754 100644 > --- a/drivers/infiniband/core/mad.c > +++ b/drivers/infiniband/core/mad.c > @@ -2663,6 +2663,7 @@ static int ib_mad_port_start(struct ib_mad_port_private > *port_priv) > int ret, i; > struct ib_qp_attr *attr; > struct ib_qp *qp; > + u16 pkey_index = 0; This shouldn't need to be initialized, as it is always set further down in the patch. Reviewed-by: Sean Hefty -- 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