From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Wise Subject: Re: [patch 1/2] infiniband/cxgb4: remove unneeded assignment Date: Wed, 02 Jun 2010 21:42:54 -0500 Message-ID: <4C0716AE.80803@opengridcomputing.com> References: <20100531140053.GT5483@bicker> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Roland Dreier Cc: Dan Carpenter , Steve Wise , Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kernel-janitors-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org Roland Dreier wrote: > Looks fine to me... in fact I don't see how this could have avoided a > NULL deref here unless the compiler is already optimizing out this > assignment, since two lines above is > > struct sk_buff *skb = NULL; > > before we do > > - struct cpl_act_establish *rpl = cplhdr(skb); > > Steve? > Looks ok. -- 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