lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111302347.ywvT3s48-lkp@intel.com>
Date:   Tue, 30 Nov 2021 23:14:37 +0800
From:   kernel test robot <lkp@...el.com>
To:     "charles.park" <charles.park@...dkernel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Dongjin Kim <tobetter@...il.com>
Subject: [tobetter:odroid-5.15.y 32/83]
 drivers/thermal/thermal_helpers.c:80:5: sparse: sparse: symbol
 'thermal_zone_data' was not declared. Should it be static?

tree:   https://github.com/tobetter/linux odroid-5.15.y
head:   31b3089969f700a8f6d8833b66ca89e104ba01ee
commit: 80ab63aad57c0100e5277218c03ce79f4256d8c4 [32/83] ODROID-XU4: Update hack avoiding the invalid temperature by TMU broken
config: i386-randconfig-s001-20211128 (https://download.01.org/0day-ci/archive/20211130/202111302347.ywvT3s48-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/tobetter/linux/commit/80ab63aad57c0100e5277218c03ce79f4256d8c4
        git remote add tobetter https://github.com/tobetter/linux
        git fetch --no-tags tobetter odroid-5.15.y
        git checkout 80ab63aad57c0100e5277218c03ce79f4256d8c4
        # save the config file to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash

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


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ