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

From: Jonathan Corbet
Date: Mon Mar 08 2021 - 19:11:29 EST


Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> 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 Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
> scripts/kernel-doc | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)

Applied, thanks.

jon