tree: https://github.com/tobetter/linux odroid-5.14.y head: 62bd983c27712ddb2dccb2efe9cdc3a086daf8e0 commit: fc9c4c869c0f88c6b8b421d312e8dbdea303a9f8 [32/68] ODROID-XU4: Update hack avoiding the invalid temperature by TMU broken config: x86_64-randconfig-s022-20210825 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-348-gf0e6938b-dirty # https://github.com/tobetter/linux/commit/fc9c4c869c0f88c6b8b421d312e8dbdea303a9f8 git remote add tobetter-linux https://github.com/tobetter/linux git fetch --no-tags tobetter-linux odroid-5.14.y git checkout fc9c4c869c0f88c6b8b421d312e8dbdea303a9f8 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/thermal/thermal_helpers.c:80:5: sparse: sparse: symbol 'thermal_zone_data' was not declared. Should it be static? vim +/thermal_zone_data +80 drivers/thermal/thermal_helpers.c 67 68 /** 69 * thermal_zone_get_temp() - returns the temperature of a thermal zone 70 * @tz: a valid pointer to a struct thermal_zone_device 71 * @temp: a valid pointer to where to store the resulting temperature. 72 * 73 * When a valid thermal zone reference is passed, it will fetch its 74 * temperature and fill @temp. 75 * 76 * Return: On success returns 0, an error code otherwise 77 */ 78 79 #define CRITICAL_TEMP 120000 > 80 int thermal_zone_data[4] = { 0, }; 81 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org