From: Vadim Bendebury Date: Thu, 24 May 2007 09:40:59 -0700 Subject: [U-Boot-Users] [PATCH] fix BRCM570x related bugs In-Reply-To: <99147.91620.qm@web307.biz.mail.mud.yahoo.com> References: <99147.91620.qm@web307.biz.mail.mud.yahoo.com> Message-ID: <3b09bd800705240940l21ea3fe8pad50b4cb1be72481@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Ben and Wolfgang, thank you for the hints. One problem with following the coding standards is that if I apply the linux Lindent script, the entire file (drivers/bcm570x.c) gets changed - it does not follow the u-boot/Linux coding standards in the first place (I suspect other files being changed with my submission are like that too). I can make sure that the lines I changed are compliant but this would make the file(s) look ugly with a mix of styles, or I can run the entire file through Lindent, but then the diffs would be polluted. What's the best way to proceed here? Cheers, /v On 5/24/07, Ben Warren wrote: > Hi Vadim, > > --- Vadim Bendebury wrote: > > > Wolfgang, > > > > thank you for a quick reply. Sorry for not following the coding > > conventions, I'll address this concern, I am more worried why there > > are so many patch failures. What's the revision of the file you're > > applying the patch against and what is the exact patch command you're > > using? > > > > cheers, > > /vb > > Here are the expectations: > > 1. Patch will apply against the current git head > 2. The command used by custodians is > > git am --signoff --whitespace=strip < PATCH_FILE > > Notice that this strips offending whitespace. You should take care to not have > any in the first place, though. > > I suggest that before sending a patch, you clone the head and try this command. > That way you can hopefully avoid *some* scorn from Wolfgang. Speaking of > which... I'll try to preempt him and warn you about top-quoting. It's > considered bad form. > > Thanks for working on this and we look forward to your patches. > > cheers, > Ben > -- Vadim Bendebury Platforms SW - (650) 253-7486 - mailto:vbendeb at google.com