[PATCH 2/2] ARM: pcmcia: fix checkpatch.pl issues in soc_common.c

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Fri Mar 26 11:56:34 EDT 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100326/ac330af8/attachment.sig>


More information about the linux-arm-kernel mailing list