Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1259673

Re: [PATCH 1/3] thermal: Add support for hierarchical thermal zones

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/3] thermal: Add support for hierarchical thermal zones
Date 2015-10-30 19:00 +0100
Message-ID <qpm82-lx-5@gated-at.bofh.it> (permalink)
References <qpl2j-8b8-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] Hierarchical thermal zones Javi Merino <javi.merino@arm.com> - 2015-10-30 17:50 +0100
  [PATCH 1/3] thermal: Add support for hierarchical thermal zones Javi Merino <javi.merino@arm.com> - 2015-10-30 17:50 +0100
    Re: [PATCH 1/3] thermal: Add support for hierarchical thermal zones kbuild test robot <lkp@intel.com> - 2015-10-30 19:00 +0100

csiph-web