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. >