Re: [PATCH] scripts/kernel-doc: ignore identifier on anonymous enums

2021-03-08 Thread Jonathan Corbet
Mauro Carvalho Chehab writes: > When anonymous enums are used, the identifier is empty. > > While, IMO, it should be avoided the usage of such enums, > adding support for it is not hard. > > So, postpone the check for empty identifiers to happen > only at the dump phase. > > Signed-off-by: Mauro

[PATCH] scripts/kernel-doc: ignore identifier on anonymous enums

2021-03-03 Thread Mauro Carvalho Chehab
When anonymous enums are used, the identifier is empty. While, IMO, it should be avoided the usage of such enums, adding support for it is not hard. So, postpone the check for empty identifiers to happen only at the dump phase. Signed-off-by: Mauro Carvalho Chehab --- scripts/kernel-doc | 9 ++