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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201510310151.hIq68gHc%fengguang.wu@intel.com>
Date:	Sat, 31 Oct 2015 01:57:00 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Javi Merino <javi.merino@....com>
Cc:	kbuild-all@...org, linux-pm@...r.kernel.org,
	linux-kernel@...r.kernel.org, rui.zang@...el.com,
	edubezval@...il.com, Punit.Agrawal@....com,
	Javi Merino <javi.merino@....com>,
	Zhang Rui <rui.zhang@...el.com>
Subject: Re: [PATCH 1/3] thermal: Add support for hierarchical thermal zones

Hi Javi,

[auto build test WARNING on thermal/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Javi-Merino/Hierarchical-thermal-zones/20151031-005118
config: m32r-m32104ut_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All warnings (new ones prefixed by >>):

   In file included from drivers/hwmon/lm75.c:31:0:
   include/linux/thermal.h: In function 'thermal_zone_add_subtz':
>> include/linux/thermal.h:471:3: warning: return makes pointer from integer without a cast
    { return -ENODEV; }
      ^
   include/linux/thermal.h: In function 'thermal_zone_del_subtz':
   include/linux/thermal.h:475:3: warning: return makes pointer from integer without a cast
    { return -ENODEV; }
      ^

vim +471 include/linux/thermal.h

   455	static inline void thermal_zone_device_update(struct thermal_zone_device *tz)
   456	{ }
   457	static inline struct thermal_cooling_device *
   458	thermal_cooling_device_register(char *type, void *devdata,
   459		const struct thermal_cooling_device_ops *ops)
   460	{ return ERR_PTR(-ENODEV); }
   461	static inline struct thermal_cooling_device *
   462	thermal_of_cooling_device_register(struct device_node *np,
   463		char *type, void *devdata, const struct thermal_cooling_device_ops *ops)
   464	{ return ERR_PTR(-ENODEV); }
   465	static inline void thermal_cooling_device_unregister(
   466		struct thermal_cooling_device *cdev)
   467	{ }
   468	static inline struct thermal_zone_device *
   469	thermal_zone_add_subtz(struct thermal_zone_device *tz,
   470			       struct thermal_zone_device *subtz)
 > 471	{ return -ENODEV; }
   472	static inline struct thermal_zone_device *
   473	thermal_zone_del_subtz(struct thermal_zone_device *tz,
   474			       struct thermal_zone_device *subtz)
   475	{ return -ENODEV; }
   476	static inline struct thermal_zone_device *thermal_zone_get_zone_by_name(
   477			const char *name)
   478	{ return ERR_PTR(-ENODEV); }
   479	static inline int thermal_zone_get_temp(

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (10046 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ