Hi Eduardo,

[auto build test ERROR on soc-thermal/next]
[also build test ERROR on next-20160309]
[cannot apply to thermal/next v4.5-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Eduardo-Valentin/thermal-convert-users-of-thermal_zone_of_sensor_register-to-devm_/20160310-054318
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal next
config: sparc64-allyesconfig (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=sparc64 

All error/warnings (new ones prefixed by >>):

   drivers/thermal/ti-soc-thermal/ti-thermal-common.c: In function 
'ti_thermal_expose_sensor':
>> drivers/thermal/ti-soc-thermal/ti-thermal-common.c:340:2: error: implicit 
>> declaration of function 'devm_thermal_zone_of_sensor_register' 
>> [-Werror=implicit-function-declaration]
     data->ti_thermal = devm_thermal_zone_of_sensor_register(bgp->dev, id,
     ^
>> drivers/thermal/ti-soc-thermal/ti-thermal-common.c:340:19: warning: 
>> assignment makes pointer from integer without a cast
     data->ti_thermal = devm_thermal_zone_of_sensor_register(bgp->dev, id,
                      ^
   cc1: some warnings being treated as errors

vim +/devm_thermal_zone_of_sensor_register +340 
drivers/thermal/ti-soc-thermal/ti-thermal-common.c

   334                  data = ti_thermal_build_data(bgp, id);
   335  
   336          if (!data)
   337                  return -EINVAL;
   338  
   339          /* in case this is specified by DT */
 > 340          data->ti_thermal = 
 > devm_thermal_zone_of_sensor_register(bgp->dev, id,
   341                                          data, &ti_of_thermal_ops);
   342          if (IS_ERR(data->ti_thermal)) {
   343                  /* Create thermal zone */

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

Attachment: .config.gz
Description: Binary data

Reply via email to