Subject: Re: linux-next: build failure after merge all the trees

From: Akira Yokosawa <[email-masked]>
Date: Thu, 8 May 2025 19:54:08 +0900

[+CC: Mauro & Dan]

Hi,

Stephen Rothwell wrote:
> The commands I use are:
> 
> cd $HOME/next/next
> make O="$HOME/next/htmldocs" htmldocs

Please try:

  make O="$HOME/next/htmldocs" KERNELDOC=scripts/kernel-doc.pl htmldocs

, assuming your $HOME/next/next is the top of kernel source.

I'm suspecting that the conflict resolution done in
c84724f2137f ("Merge branch 'for-6.16/tsm-mr' into tsm-next")
ended up in mismatching path names given to "kernel-doc::" somewhere.

Looks like recent conversion of the kernel-doc script into python
has changed the behavior in such error conditions.
With the perl version, you'll see a couple of:

    Error: Cannot open file <...>/linux/drivers/virt/coco/tsm-mr.c

, but the doc build should complete.

HTH,
Akira