]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
scripts: kernel-doc: Restore anonymous enum parsing
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 2 Nov 2020 17:06:37 +0000 (19:06 +0200)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 4 Jan 2021 15:36:41 +0000 (16:36 +0100)
commiteb4283a478e513a96c2ea12618f0fd19862f5bfe
tree4458102663e2dd8c101f0b06944e2440b8069058
parentfa4e402d7bfe225a1e341fc978e4af1e8e24700d
scripts: kernel-doc: Restore anonymous enum parsing

BugLink: https://bugs.launchpad.net/bugs/1910111
[ Upstream commit ae5b17e464146ddb8fee744fa2150922d6072916 ]

The commit d38c8cfb0571 ("scripts: kernel-doc: add support for typedef enum")
broke anonymous enum parsing. Restore it by relying on members rather than
its name.

Fixes: d38c8cfb0571 ("scripts: kernel-doc: add support for typedef enum")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/20201102170637.36138-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
scripts/kernel-doc