Re: [PATCH] checkpatch: add a rule to check devinitconst mistakes

2013-08-05 Thread Joe Perches
On Mon, 2013-08-05 at 15:10 -0700, Andi Kleen wrote: > From: Andi Kleen > > Check for const __devinitdata and non const __devinitconst > > People get this regularly wrong and it breaks the LTO builds, > as it causes a section attribute conflict. > > This doesn't catch all mistakes -- spreading

[PATCH] checkpatch: add a rule to check devinitconst mistakes

2013-08-05 Thread Andi Kleen
From: Andi Kleen Check for const __devinitdata and non const __devinitconst People get this regularly wrong and it breaks the LTO builds, as it causes a section attribute conflict. This doesn't catch all mistakes -- spreading over multiple lines, getting const pointers wrong, but hopefully the

[PATCH] checkpatch: add a rule to check devinitconst mistakes

2013-04-20 Thread Andi Kleen
From: Andi Kleen Check for const __devinitdata and non const __devinitconst People get this regularly wrong and it breaks the LTO builds, as it causes a section attribute conflict. This doesn't catch all mistakes -- spreading over multiple lines, getting const pointers wrong, but hopefully the