Hi Sid, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: d5ad8ec3cfb56a017de6a784835666475b4be349 commit: 788dcee0306e1bdbae1a76d1b3478bb899c5838e Hexagon: fix build errors date: 3 months ago config: hexagon-randconfig-r024-20210804 (attached as .config) compiler: clang version 12.0.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=788dcee0306e1bdbae1a76d1b3478bb899c5838e git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 788dcee0306e1bdbae1a76d1b3478bb899c5838e # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/spi/spi-sh-msiof.c:1076:34: warning: unused variable 'sh_msiof_match' [-Wunused-const-variable] static const struct of_device_id sh_msiof_match[] = { ^ 1 warning generated. vim +/sh_msiof_match +1076 drivers/spi/spi-sh-msiof.c 50a7e23f536779 Geert Uytterhoeven 2014-02-25 1075 50a7e23f536779 Geert Uytterhoeven 2014-02-25 @1076 static const struct of_device_id sh_msiof_match[] = { 50a7e23f536779 Geert Uytterhoeven 2014-02-25 1077 { .compatible = "renesas,sh-mobile-msiof", .data = &sh_data }, bdacfc7b6216dd Fabrizio Castro 2017-09-25 1078 { .compatible = "renesas,msiof-r8a7743", .data = &rcar_gen2_data }, bdacfc7b6216dd Fabrizio Castro 2017-09-25 1079 { .compatible = "renesas,msiof-r8a7745", .data = &rcar_gen2_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1080 { .compatible = "renesas,msiof-r8a7790", .data = &rcar_gen2_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1081 { .compatible = "renesas,msiof-r8a7791", .data = &rcar_gen2_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1082 { .compatible = "renesas,msiof-r8a7792", .data = &rcar_gen2_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1083 { .compatible = "renesas,msiof-r8a7793", .data = &rcar_gen2_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1084 { .compatible = "renesas,msiof-r8a7794", .data = &rcar_gen2_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1085 { .compatible = "renesas,rcar-gen2-msiof", .data = &rcar_gen2_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1086 { .compatible = "renesas,msiof-r8a7796", .data = &rcar_gen3_data }, 61a8dec502b873 Geert Uytterhoeven 2017-07-12 1087 { .compatible = "renesas,rcar-gen3-msiof", .data = &rcar_gen3_data }, 264c3e8de4fbda Simon Horman 2016-12-20 1088 { .compatible = "renesas,sh-msiof", .data = &sh_data }, /* Deprecated */ 50a7e23f536779 Geert Uytterhoeven 2014-02-25 1089 {}, 50a7e23f536779 Geert Uytterhoeven 2014-02-25 1090 }; 50a7e23f536779 Geert Uytterhoeven 2014-02-25 1091 MODULE_DEVICE_TABLE(of, sh_msiof_match); 50a7e23f536779 Geert Uytterhoeven 2014-02-25 1092 :::::: The code at line 1076 was first introduced by commit :::::: 50a7e23f53677918bf521b09ce9bb20fb87cd175 spi: sh-msiof: Move default FIFO sizes to device ID data :::::: TO: Geert Uytterhoeven :::::: CC: Mark Brown --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org