Re: checkpatch.pl and assembly #defines
From: Andy Whitcroft
Date: Tue Dec 04 2012 - 15:44:15 EST
On Tue, Dec 04, 2012 at 04:59:23AM -0800, Paul E. McKenney wrote:
> Hello, Andy,
>
> The current checkpatch.pl complains about cpp macros defined as follows:
>
> #define callit call my_function
>
> Of course, if you do put parentheses around the definition, your assembler
> will complain. Could this complaint be downgraded to a warning? Or is
> there some way to recognize assembly cpp macros?
Well all checkpatch output is warnings anyhow. Where are these being
placed, perhaps there is a clue in that at least.
-apw
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/