Hi Peng, kernel test robot noticed the following build errors: [auto build test ERROR on 22ba90670a51a18c6b36d285fddf92b9887c0bc3] url: https://github.com/intel-lab-lkp/linux/commits/Peng-Fan-OSS/dt-bindindgs-clock-support-NXP-i-MX95-BLK-CTL-module/20240228-122408 base: 22ba90670a51a18c6b36d285fddf92b9887c0bc3 patch link: https://lore.kernel.org/r/20240228-imx95-blk-ctl-v1-2-9b5ae3c14d83%40nxp.com patch subject: [PATCH 2/2] clk: imx: add i.MX95 BLK CTL clk driver config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20240301/202403010142.5gu9hKpX-lkp@xxxxxxxxx/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 325f51237252e6dab8e4e1ea1fa7acbb4faee1cd) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240301/202403010142.5gu9hKpX-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202403010142.5gu9hKpX-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from drivers/clk/imx/clk-imx95-blk-ctl.c:13: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 547 | val = __raw_readb(PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu' 37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) | ^ In file included from drivers/clk/imx/clk-imx95-blk-ctl.c:13: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr)); | ~~~~~~~~~~ ^ include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu' 35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x)) | ^ In file included from drivers/clk/imx/clk-imx95-blk-ctl.c:13: In file included from include/linux/io.h:13: In file included from arch/hexagon/include/asm/io.h:328: include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 584 | __raw_writeb(value, PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] 604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr); | ~~~~~~~~~~ ^ >> drivers/clk/imx/clk-imx95-blk-ctl.c:425:25: error: use of undeclared identifier 'imx95_blk_ctl_match'; did you mean 'imx95_bc_of_match'? 425 | MODULE_DEVICE_TABLE(of, imx95_blk_ctl_match); | ^~~~~~~~~~~~~~~~~~~ | imx95_bc_of_match include/linux/module.h:244:15: note: expanded from macro 'MODULE_DEVICE_TABLE' 244 | extern typeof(name) __mod_##type##__##name##_device_table \ | ^ drivers/clk/imx/clk-imx95-blk-ctl.c:416:34: note: 'imx95_bc_of_match' declared here 416 | static const struct of_device_id imx95_bc_of_match[] = { | ^ 6 warnings and 1 error generated. vim +425 drivers/clk/imx/clk-imx95-blk-ctl.c 415 416 static const struct of_device_id imx95_bc_of_match[] = { 417 { .compatible = "nxp,imx95-cameramix-csr", .data = &camblk_dev_data }, 418 { .compatible = "nxp,imx95-display-master-csr", }, 419 { .compatible = "nxp,imx95-dispmix-lvds-csr", .data = &lvds_csr_dev_data }, 420 { .compatible = "nxp,imx95-dispmix-csr", .data = &dispmix_csr_dev_data }, 421 { .compatible = "nxp,imx95-netcmix-blk-ctrl", }, 422 { .compatible = "nxp,imx95-vpumix-csr", .data = &vpublk_dev_data }, 423 { /* Sentinel */ }, 424 }; > 425 MODULE_DEVICE_TABLE(of, imx95_blk_ctl_match); 426 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki