Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: kerneldoc.py: append the name of the parsed doc file

Finding where an error like this was generated:
../lib/math/div64.c:73: WARNING: Duplicate C declaration, also defined in 'kernel-api'.

Can take some time, as there's no glue about what kernel-doc
tag generated it. It is a way better to display it as:

.../Documentation/core-api/kernel-api:171: ../lib/math/div64.c:73: WARNING: Duplicate C declaration, also defined in 'kernel-api'.
Declaration is 'div_s64_rem'.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

+2 -1
+2 -1
Documentation/sphinx/kerneldoc.py
··· 141 141 lineoffset = int(match.group(1)) - 1 142 142 # we must eat our comments since the upset the markup 143 143 else: 144 - result.append(line, filename, lineoffset) 144 + doc = env.srcdir + "/" + env.docname + ":" + str(self.lineno) 145 + result.append(line, doc + ": " + filename, lineoffset) 145 146 lineoffset += 1 146 147 147 148 node = nodes.section()