Repository navigation
Commit 0b54c2e
scripts/kernel-doc: ignore identifier on anonymous enums
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@kernel.org>
Link: https://lore.kernel.org/r/055ad57879f1b9381b90879e00f72fde1c3a5647.1614760910.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>1 parent e85d92b commit 0b54c2e
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1412 | 1412 | | |
1413 | 1413 | | |
1414 | 1414 | | |
1415 | | - | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
1416 | 1420 | | |
1417 | 1421 | | |
| 1422 | + | |
1418 | 1423 | | |
1419 | 1424 | | |
1420 | 1425 | | |
| |||
2134 | 2139 | | |
2135 | 2140 | | |
2136 | 2141 | | |
2137 | | - | |
| 2142 | + | |
2138 | 2143 | | |
2139 | 2144 | | |
2140 | 2145 | | |
| |||
0 commit comments