From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann Droneaud Subject: Re: [PATCH] infiniband, ocrdma, Fix compiler warning Date: Wed, 19 Feb 2014 17:54:08 +0100 Message-ID: <1392828848.25314.3.camel@localhost.localdomain> References: <1392821725-14137-1-git-send-email-prarit@redhat.com> <1392828475.25314.1.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1392828475.25314.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Prarit Bhargava Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Roland Dreier , Sean Hefty , Hal Rosenstock , Naresh Gottumukkala , Moni Shoua , Matan Barak , "Gottumukkala, Naresh" List-Id: linux-rdma@vger.kernel.org Le mercredi 19 f=C3=A9vrier 2014 =C3=A0 17:47 +0100, Yann Droneaud a =C3= =A9crit : > Le mercredi 19 f=C3=A9vrier 2014 =C3=A0 09:55 -0500, Prarit Bhargava = a =C3=A9crit : > > drivers/infiniband/hw/ocrdma/ocrdma_verbs.c: In function =E2=80=98_= ocrdma_modify_qp=E2=80=99: > > drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:1299:31: error: =E2=80=98= old_qps=E2=80=99 may be used uninitialized in this function [-Werror=3D= maybe-uninitialized] > > status =3D ocrdma_mbx_modify_qp(dev, qp, attr, attr_mask, old_qps= ); > >=20 > > ocrdma_mbx_modify_qp() (and subsequent calls) doesn't appear to use= old_qps > > so it doesn't need to be passed on. Removing the variable results = in the > > warning going away. > >=20 >=20 > Nice to see this warning removed. >=20 > > Signed-off-by: Prarit Bhargava > >=20 >=20 > You should move the signed of after the Cc's. >=20 > > Cc: Roland Dreier > > Cc: Sean Hefty > > Cc: Hal Rosenstock > > Cc: Naresh Gottumukkala > > Cc: Moni Shoua > > Or Gerlitz > ^^^ > There's a missing Cc: tag >=20 > > Cc: Matan Barak > > Cc: "Gottumukkala, Naresh" >=20 Additionnaly some addresses seems to be invalid: : host emulex.com.mail5.psmtp.com[64.18.5.10] said: 550 No such user - psmtp (in reply to RCPT TO command) : host emulex.com.mail5.psmtp.com[64.18.5.10] said: 550 No such user - psmtp (in reply to RCPT TO command) Regards. --=20 Yann Droneaud OPTEYA -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html