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


Groups > linux.kernel > #1672167

Re: [PATCH] rtc: ds3232: add temperature support

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] rtc: ds3232: add temperature support
Date 2017-06-22 02:00 +0200
Message-ID <tUXHr-4R8-1@gated-at.bofh.it> (permalink)
References <tUPgS-7q0-27@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 Kirill,

[auto build test ERROR on abelloni/rtc-next]
[also build test ERROR on v4.12-rc6 next-20170621]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Kirill-Esipov/rtc-ds3232-add-temperature-support/20170622-065247
base:   https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
config: x86_64-randconfig-x008-201725 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/rtc/rtc-ds3232.c: In function 'ds3232_probe':
>> drivers/rtc/rtc-ds3232.c:451:24: error: passing argument 1 of 'ds3232_hwmon_register' from incompatible pointer type [-Werror=incompatible-pointer-types]
     ds3232_hwmon_register(dev, name);
                           ^~~
   drivers/rtc/rtc-ds3232.c:354:13: note: expected 'struct ds3232 *' but argument is of type 'struct device *'
    static void ds3232_hwmon_register(struct ds3232 *ds3232)
                ^~~~~~~~~~~~~~~~~~~~~
>> drivers/rtc/rtc-ds3232.c:451:2: error: too many arguments to function 'ds3232_hwmon_register'
     ds3232_hwmon_register(dev, name);
     ^~~~~~~~~~~~~~~~~~~~~
   drivers/rtc/rtc-ds3232.c:354:13: note: declared here
    static void ds3232_hwmon_register(struct ds3232 *ds3232)
                ^~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/ds3232_hwmon_register +451 drivers/rtc/rtc-ds3232.c

   445		if (ret)
   446			return ret;
   447	
   448		if (ds3232->irq > 0)
   449			device_init_wakeup(dev, 1);
   450	
 > 451		ds3232_hwmon_register(dev, name);
   452	
   453		ds3232->rtc = devm_rtc_device_register(dev, name, &ds3232_rtc_ops,
   454							THIS_MODULE);

---
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 | Next in thread | Find similar | Unroll thread


Thread

[PATCH] rtc: ds3232: add temperature support Kirill Esipov <yesipov@gmail.com> - 2017-06-21 17:00 +0200
  Re: rtc: ds3232: add temperature support Guenter Roeck <linux@roeck-us.net> - 2017-06-22 00:30 +0200
    Re: rtc: ds3232: add temperature support Kirill Esipov <yesipov@gmail.com> - 2017-06-22 14:20 +0200
    Re: rtc: ds3232: add temperature support Guenter Roeck <linux@roeck-us.net> - 2017-06-22 15:50 +0200
      Re: rtc: ds3232: add temperature support Kirill Esipov <yesipov@gmail.com> - 2017-06-22 18:20 +0200
  Re: [PATCH] rtc: ds3232: add temperature support kbuild test robot <lkp@intel.com> - 2017-06-22 02:00 +0200
  Re: [PATCH] rtc: ds3232: add temperature support kbuild test robot <lkp@intel.com> - 2017-06-22 03:40 +0200

csiph-web