Re: [PATCH] checkpatch: Add __ro_after_init to known $Attribute

2018-08-27 Thread Kees Cook
On Mon, Aug 27, 2018 at 10:33 PM, Joe Perches wrote: > __ro_after_init is a specific __attribute__ that checkpatch > does currently not understand. > > Add it to the known $Attribute types so that code that uses > variables declared with __ro_after_init are not thought to > be a modifier type. >

Re: [PATCH] checkpatch: Add __ro_after_init to known $Attribute

2018-08-27 Thread Kees Cook
On Mon, Aug 27, 2018 at 10:33 PM, Joe Perches wrote: > __ro_after_init is a specific __attribute__ that checkpatch > does currently not understand. > > Add it to the known $Attribute types so that code that uses > variables declared with __ro_after_init are not thought to > be a modifier type. >

[PATCH] checkpatch: Add __ro_after_init to known $Attribute

2018-08-27 Thread Joe Perches
__ro_after_init is a specific __attribute__ that checkpatch does currently not understand. Add it to the known $Attribute types so that code that uses variables declared with __ro_after_init are not thought to be a modifier type. This appears as a defect in checkpatch output of code like:

[PATCH] checkpatch: Add __ro_after_init to known $Attribute

2018-08-27 Thread Joe Perches
__ro_after_init is a specific __attribute__ that checkpatch does currently not understand. Add it to the known $Attribute types so that code that uses variables declared with __ro_after_init are not thought to be a modifier type. This appears as a defect in checkpatch output of code like: