Messages in this thread | | | Date | Tue, 4 Dec 2012 20:44:21 +0000 | From | Andy Whitcroft <> | Subject | Re: checkpatch.pl and assembly #defines |
| |
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
| |