[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <10080.1269618994@localhost>
Date: Fri, 26 Mar 2010 11:56:34 -0400
From: Valdis.Kletnieks@...edu
To: Marcelo Jimenez <mroberto@...i.cetuc.puc-rio.br>
Cc: Russell King - ARM Linux <linux@....linux.org.uk>,
Dominik Brodowski <linux@...inikbrodowski.net>,
Wolfram Sang <w.sang@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-pcmcia@...ts.infradead.org
Subject: Re: [PATCH 2/2] ARM: pcmcia: fix checkpatch.pl issues in soc_common.c
On Wed, 24 Mar 2010 20:20:19 -0300, Marcelo Jimenez said:
>> - debug(skt, 2, "mask: %s%s%s%s%s%sflags: %s%s%s%s%s%sVcc %d Vpp %d irq %d\n",
> I will redo it, no problem. But just for my information, in that
> particular case, is it usefull to grep using format specifiers?
Until you find the format string, you really don't know for sure if
it's a %d or a %u or a %alt-ctl-cokebottle so you end up grepping like this:
egrep 'mask: .*flags: .*Vcc .* Vpp .* irq'
basically wildcarding your way across whatever %foo might be there.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists