From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 12/14] Spidernet Avoid possible RX chain corruption Date: Thu, 14 Dec 2006 17:36:49 +0000 Message-ID: <20061214173649.GB3452@infradead.org> References: <20061213210010.GR4329@austin.ibm.com> <20061213212301.GL1915@austin.ibm.com> <1166055763.6838.5.camel@concordia.ozlabs.ibm.com> <20061214171511.GT4329@austin.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Michael Ellerman , Andrew Morton , Arnd Bergmann , netdev@vger.kernel.org, Christoph Hellwig , linuxppc-dev@ozlabs.org, Jens Osterkamp , jgarzik@pobox.com, James K Lewis Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:37591 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932881AbWLNRhD (ORCPT ); Thu, 14 Dec 2006 12:37:03 -0500 To: Linas Vepstas Content-Disposition: inline In-Reply-To: <20061214171511.GT4329@austin.ibm.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, Dec 14, 2006 at 11:15:11AM -0600, Linas Vepstas wrote: > On Thu, Dec 14, 2006 at 11:22:43AM +1100, Michael Ellerman wrote: > > > spider_net_refill_rx_chain(card); > > > - spider_net_enable_rxchtails(card); > > > spider_net_enable_rxdmac(card); > > > return 0; > > > > Didn't you just add that line? > > Dagnabbit. The earlier pach was moving around existing code. > Or, more precisely, trying to maintain the general function > of the old code even while moving things around. > > Later on, when I started looking at what the danged function > actually did, and the context it was in, I realized that it > was a bad idea to call the thing. So then I removed it. :-/ > > How should I handle this proceedurally? Resend the patch sequence? > Let it slide? Just keep it as is in this case. In case you have to redo the patch series for some other reason or for similar cases in the future put the patch to remove things in front of the one that reorders the surrounding bits.