From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Wise Date: Thu, 03 Jun 2010 02:42:54 +0000 Subject: Re: [patch 1/2] infiniband/cxgb4: remove unneeded assignment Message-Id: <4C0716AE.80803@opengridcomputing.com> List-Id: References: <20100531140053.GT5483@bicker> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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.