[soc:sophgo/dt 1/1] arch/riscv/boot/dts/sophgo/sg2042.dtsi:7:10: fatal error: 'dt-bindings/clock/sophgo,sg2042-clkgen.h' file not found
Chen Wang
unicorn_wang at outlook.com
Thu Jul 18 05:20:12 PDT 2024
On 2024/7/17 22:30, Nathan Chancellor wrote:
> On Thu, Jul 11, 2024 at 07:09:48AM +0800, Chen Wang wrote:
>> This build error is due to the changes about
>> "dt-bindings/clock/sophgo,sg2042-clkgen.h" are still on clk-next and have
>> not been merge in the master.
> A tree needs to build by itself, so changes like this need to be made
> atomically. Mainline is now broken because this change went in before
> clk-next:
>
> https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/9966522897
> https://github.com/ClangBuiltLinux/continuous-integration2/actions/runs/9966319154
>
> Please ensure this does not happen again, it is really disruptive for
> people who test the whole tree, especially during the merge window when
> we are trying to catch breakage that went in without being in -next.
>
> Cheers,
> Nathan
I'm sorry for this, I will notice this next time.
Regards,
Chen
>> On 2024/7/10 18:56, kernel test robot wrote:
>>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git sophgo/dt
>>> head: b1240a39511b9206293b82ac372c5114d6e15821
>>> commit: b1240a39511b9206293b82ac372c5114d6e15821 [1/1] riscv: dts: add clock generator for Sophgo SG2042 SoC
>>> config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20240710/202407101850.eIQyngoV-lkp@intel.com/config)
>>> compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project a0c6b8aef853eedaa0980f07c0a502a5a8a9740e)
>>> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240710/202407101850.eIQyngoV-lkp@intel.com/reproduce)
>>>
>>> If you fix the issue in a separate patch/commit (i.e. not just a new version of
>>> the same patch/commit), kindly add following tags
>>> | Reported-by: kernel test robot <lkp at intel.com>
>>> | Closes: https://lore.kernel.org/oe-kbuild-all/202407101850.eIQyngoV-lkp@intel.com/
>>>
>>> All errors (new ones prefixed by >>):
>>>
>>> In file included from arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts:6:
>>>>> arch/riscv/boot/dts/sophgo/sg2042.dtsi:7:10: fatal error: 'dt-bindings/clock/sophgo,sg2042-clkgen.h' file not found
>>> 7 | #include <dt-bindings/clock/sophgo,sg2042-clkgen.h>
>>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>> 1 error generated.
>>>
>>>
>>> vim +7 arch/riscv/boot/dts/sophgo/sg2042.dtsi
>>>
>>> > 7 #include <dt-bindings/clock/sophgo,sg2042-clkgen.h>
>>> 8 #include <dt-bindings/clock/sophgo,sg2042-pll.h>
>>> 9 #include <dt-bindings/clock/sophgo,sg2042-rpgate.h>
>>> 10 #include <dt-bindings/interrupt-controller/irq.h>
>>> 11 #include <dt-bindings/reset/sophgo,sg2042-reset.h>
>>> 12
>>>
More information about the linux-arm-kernel
mailing list