linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Krzysztof Helt" <krzysztof.h1@wp.pl>
Cc: Andrew Morton <akpm@osdl.org>,
	Linux Fbdev development list
	<linux-fbdev-devel@lists.sourceforge.net>,
	Andy Whitcroft <apw@shadowen.org>
Subject: Re: [PATCH 11/20] cirrusfb: checkpatch.plcleanup
Date: Mon, 27 Aug 2007 10:19:15 +0200	[thread overview]
Message-ID: <46d28903790a5@wp.pl> (raw)
In-Reply-To: <46D18888.10902@gmail.com> <Pine.LNX.4.64.0708270913170.19656@anakin>

Dnia 27-08-2007 o godz. 9:15 Geert Uytterhoeven napisa³:
> >  drivers/video/cirrusfb.c | 1788
+++++++++++++++++++++++++---------------------
> >  1 files changed, 983 insertions(+), 805 deletions(-)
> > 
> > diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
> > index 8269d70..4c97c1d 100644
> > --- a/drivers/video/cirrusfb.c
> > +++ b/drivers/video/cirrusfb.c
> > @@ -59,7 +59,7 @@ #include <asm/amigahw.h>
> >  #endif
> >  #ifdef CONFIG_PPC_PREP
> >  #include <asm/machdep.h>
> > -#define isPReP (machine_is(prep))
> > +#define isPReP(machine_is(prep))
> >  #else
> >  #define isPReP 0
> >  #endif
> 
> This chunk is bogus. Probably there should be a tab instead of
a space to
> silence checkpatch, or checkpatch should become smarter...
> 

My bad. The simplest solution is to drop parentheses so it becomes

#define isPReP machine_is(prep)

I'll made a patch today (about 12 hours later) if someone does
not make it earlier.

Regards,
Krzysztof

----------------------------------------------------
Wspó³czesna bajka dla doros³ych! Zmys³owe opisy, magiczne 
zdarzenia, ironiczne komentarze "Mam ³ózko z racuchów 
na ma¶lance" Jaclyn Moriarty ju¿ w ksiegaranich! 
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fracuchy.html&sid=2



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

  reply	other threads:[~2007-08-27  8:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-26 14:04 [PATCH 11/20] cirrusfb: checkpatch.pl cleanup Antonino A. Daplas
2007-08-27  7:15 ` Geert Uytterhoeven
2007-08-27  8:19   ` Krzysztof Helt [this message]
2007-08-27 17:37   ` [PATCH] cirrusfb: checkpatch.pl cleanup PPC fix Krzysztof Helt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46d28903790a5@wp.pl \
    --to=krzysztof.h1@wp.pl \
    --cc=akpm@osdl.org \
    --cc=apw@shadowen.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).