Re: [RFC v2] scripts: kernel-doc: fix attribute capture in function parsing

2021-03-08 Thread Jonathan Corbet
Aditya Srivastava writes: > Currently, kernel-doc warns for function prototype parsing on the > presence of attributes "__attribute_const__" and "__flatten" in the > definition. > > There are 166 occurrences in ~70 files in the kernel tree for > "__attribute_const__" and 5 occurrences in 4 files

[RFC v2] scripts: kernel-doc: fix attribute capture in function parsing

2021-03-06 Thread Aditya Srivastava
Currently, kernel-doc warns for function prototype parsing on the presence of attributes "__attribute_const__" and "__flatten" in the definition. There are 166 occurrences in ~70 files in the kernel tree for "__attribute_const__" and 5 occurrences in 4 files for "__flatten". Out of 166, there are