Re: [kbuild-all] Re: Error: arch/powerpc/boot/dts/fsl/t1040rdb.dts:112.1-9 syntax error

From: Chen, Rong A
Date: Thu Jan 20 2022 - 20:57:50 EST




On 1/14/2022 3:22 AM, Maxim Kochetkov wrote:


On 13.01.2022 20:53, kernel test robot wrote:
tree: https://github.com/0day-ci/linux/commits/UPDATE-20220112-013848/Maxim-Kiselev/powerpc-dts-t1040rdb-fix-ports-names-for-Seville-Ethernet-switch/20211230-184411
head:   50f019b2ff409796f96cd749ecd816ff18575d8b
commit: 50f019b2ff409796f96cd749ecd816ff18575d8b powerpc: dts: t1040rdb: fix ports names for Seville Ethernet switch
date:   2 days ago
config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20220114/202201140142.ayjm3jMQ-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
         chmod +x ~/bin/make.cross
         # https://github.com/0day-ci/linux/commit/50f019b2ff409796f96cd749ecd816ff18575d8b
         git remote add linux-review https://github.com/0day-ci/linux
         git fetch --no-tags linux-review UPDATE-20220112-013848/Maxim-Kiselev/powerpc-dts-t1040rdb-fix-ports-names-for-Seville-Ethernet-switch/20211230-184411
         git checkout 50f019b2ff409796f96cd749ecd816ff18575d8b
         # save the config file to linux build tree
         mkdir build_dir
         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

Error: arch/powerpc/boot/dts/fsl/t1040rdb.dts:112.1-9 syntax error
    FATAL ERROR: Unable to parse input tree
This is very strange error. Submitted patch doesn't touch string 112.
String 112 is #include "t1040si-post.dtsi"


Hi Maxim,

The error should be triggered by the new file arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dts:

Error: ../arch/powerpc/boot/dts/fsl/t1040rdb.dts:112.1-9 syntax error
FATAL ERROR: Unable to parse input tree
HDRINST usr/include/linux/usb/audio.h
HDRINST usr/include/linux/unix_diag.h
HDRINST usr/include/linux/unistd.h
DTC arch/powerpc/boot/dts/mucmc52.dtb
make[3]: *** [../scripts/Makefile.lib:346: arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dtb] Error 1

Best Regards,
Rong Chen