[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7679509.IB7arj1Sb8@voltaire>
Date: Fri, 20 Feb 2015 19:56:12 +0800
From: Marek Lindner <mareklindner@...mailbox.ch>
To: b.a.t.m.a.n@...ts.open-mesh.org
Cc: Joe Perches <joe@...ches.com>, linux-kernel@...r.kernel.org,
Dan Carpenter <dan.carpenter@...cle.com>
Subject: Re: [B.A.T.M.A.N.] checkpatch: CHECK: No space is necessary after a cast
On Thursday, February 19, 2015 11:55:41 Joe Perches wrote:
> > Can you make a suggestion / patch for checkpatch to better handle this
> > case ?
> The "sizeof" test in the current script doesn't work.
>
> I believe the patch below works with no false positives
> but <shrug> it's perl regexes against odd coding styles
> and weird macros, who knows for sure...
>
> I did run it against drivers/, net/ and include/
Your perl-regex-fu does the trick!
Thanks,
Marek
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists