checkpatch.pl and assembly #defines
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?
Thanx, Paul
Quoted 9 lines · Paul E. McKenney
Hello, Andy,
The current checkpatch.pl complains about cpp macros defined as follows:
#define callit call
my_functionOf 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