Re: [PATCH 2/2] kernel-doc: add support for ____cacheline_aligned_in_smp attribute

2019-10-01 Thread Jonathan Corbet
On Tue, 17 Sep 2019 16:41:46 -0300 André Almeida wrote: > -if ($x =~ > /(struct|union)\s+(\w+)\s*\{(.*)\}(\s*(__packed|__aligned|__attribute__\s*\(\([a-z0-9,_\s\(\)]*\)\)))*/) > { > +if ($x =~ > /(struct|union)\s+(\w+)\s*\{(.*)\}(\s*(__packed|__aligned|cacheline_aligned_in_smp|__at

[PATCH 2/2] kernel-doc: add support for ____cacheline_aligned_in_smp attribute

2019-09-17 Thread André Almeida
Subroutine dump_struct uses type attributes to check if the struct syntax is valid. Then, it removes all attributes before using it for output. `cacheline_aligned_in_smp` is an attribute that is not included in both steps. Add it, since it is used by kernel structs. Signed-off-by: André Almeid