[PATCH v2 2/5] block: add partition parser for U-Boot uImage.FIT

kernel test robot lkp at intel.com
Thu May 12 11:22:03 PDT 2022


Hi Daniel,

I love your patch! Yet something to improve:

[auto build test ERROR on axboe-block/for-next]
[also build test ERROR on mtd/mtd/next mtd/mtd/fixes v5.18-rc6 next-20220512]
[cannot apply to rw-ubifs/next rw-ubifs/fixes]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/intel-lab-lkp/linux/commits/Daniel-Golle/partition-parser-for-U-Boot-s-uImage-FIT/20220509-185349
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: xtensa-buildonly-randconfig-r001-20220512 (https://download.01.org/0day-ci/archive/20220513/202205130213.kRDmMP6B-lkp@intel.com/config)
compiler: xtensa-linux-gcc (GCC) 11.3.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/intel-lab-lkp/linux/commit/5a69884cfc6091e8d7c5491fbf57dd5e13cd5ee8
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Daniel-Golle/partition-parser-for-U-Boot-s-uImage-FIT/20220509-185349
        git checkout 5a69884cfc6091e8d7c5491fbf57dd5e13cd5ee8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=xtensa SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
>> fit.c:(.text+0x11c): undefined reference to `fdt_check_header'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x262): undefined reference to `fdt_check_header'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
>> fit.c:(.text+0x124): undefined reference to `fdt_path_offset'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x320): undefined reference to `fdt_path_offset'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
>> fit.c:(.text+0x128): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x337): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
>> fit.c:(.text+0x130): undefined reference to `fdt_subnode_offset'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x356): undefined reference to `fdt_subnode_offset'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
   fit.c:(.text+0x138): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x382): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
   fit.c:(.text+0x13c): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x397): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
   fit.c:(.text+0x148): undefined reference to `fdt_path_offset'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x3e3): undefined reference to `fdt_path_offset'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
>> fit.c:(.text+0x150): undefined reference to `fdt_first_subnode'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x412): undefined reference to `fdt_first_subnode'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
>> fit.c:(.text+0x154): undefined reference to `fdt_get_name'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x423): undefined reference to `fdt_get_name'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
   fit.c:(.text+0x158): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x43a): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
   fit.c:(.text+0x15c): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x44b): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
   fit.c:(.text+0x160): undefined reference to `fdt_getprop'
   xtensa-linux-ld: block/partitions/fit.o:fit.c:(.text+0x45f): more undefined references to `fdt_getprop' follow
   xtensa-linux-ld: block/partitions/fit.o: in function `put_page':
>> fit.c:(.text+0x184): undefined reference to `fdt_next_subnode'
   xtensa-linux-ld: block/partitions/fit.o: in function `parse_fit_partitions':
   fit.c:(.text+0x6ae): undefined reference to `fdt_next_subnode'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-mtd mailing list