From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Wed, 22 Dec 2010 14:38:12 +0300 Subject: [U-Boot] [PATCH 1/3] lib/asm-offsets.c: Clean coding style In-Reply-To: <1292955178-13018-1-git-send-email-monstr@monstr.eu> References: <1292955178-13018-1-git-send-email-monstr@monstr.eu> Message-ID: <4D11E324.7060403@mvista.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello. On 21-12-2010 21:12, Michal Simek wrote: > Clear coding style issues. > Signed-off-by: Michal Simek [...] > diff --git a/lib/asm-offsets.c b/lib/asm-offsets.c > index 2209561..f1af7e2 100644 > --- a/lib/asm-offsets.c > +++ b/lib/asm-offsets.c > @@ -19,11 +19,11 @@ > > #include > > -int main(void) > +int main (void) Why add space before paren? checkpatch.pl wouldn't like it. > { > /* Round up to make sure size gives nice stack alignment */ > - DEFINE(GENERATED_GBL_DATA_SIZE, > - (sizeof(struct global_data)+15) & ~15); > + DEFINE (GENERATED_GBL_DATA_SIZE, Same here... WBR, Sergei