From: kbuild test robot <lkp@intel.com>
To: Kirill Esipov <yesipov@gmail.com>
Cc: kbuild-all@01.org, a.zummo@towertech.it,
alexandre.belloni@free-electrons.com, linux-rtc@vger.kernel.org,
linux-kernel@vger.kernel.org, Kirill Esipov <yesipov@gmail.com>
Subject: Re: [PATCH] rtc: ds3232: add temperature support
Date: Thu, 22 Jun 2017 09:29:56 +0800 [thread overview]
Message-ID: <201706220938.A0abG1Gi%fengguang.wu@intel.com> (raw)
In-Reply-To: <1498056583-16551-1-git-send-email-yesipov@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2325 bytes --]
Hi Kirill,
[auto build test WARNING on abelloni/rtc-next]
[also build test WARNING 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-h0-06220808 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/rtc/rtc-ds3232.c: In function 'ds3232_probe':
>> drivers/rtc/rtc-ds3232.c:451:24: warning: passing argument 1 of 'ds3232_hwmon_register' from incompatible pointer type
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)
^
vim +/ds3232_hwmon_register +451 drivers/rtc/rtc-ds3232.c
435 ds3232 = devm_kzalloc(dev, sizeof(*ds3232), GFP_KERNEL);
436 if (!ds3232)
437 return -ENOMEM;
438
439 ds3232->regmap = regmap;
440 ds3232->irq = irq;
441 ds3232->dev = dev;
442 dev_set_drvdata(dev, ds3232);
443
444 ret = ds3232_check_rtc_status(dev);
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);
455 if (IS_ERR(ds3232->rtc))
456 return PTR_ERR(ds3232->rtc);
457
458 if (ds3232->irq > 0) {
459 ret = devm_request_threaded_irq(dev, ds3232->irq, NULL,
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20328 bytes --]
prev parent reply other threads:[~2017-06-22 1:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 14:49 [PATCH] rtc: ds3232: add temperature support Kirill Esipov
2017-06-21 22:24 ` Guenter Roeck
2017-06-22 12:07 ` Kirill Esipov
2017-06-22 13:44 ` Guenter Roeck
2017-06-22 16:17 ` Kirill Esipov
2017-06-22 12:13 ` Kirill Esipov
2017-06-21 23:51 ` [PATCH] " kbuild test robot
2017-06-22 1:29 ` kbuild test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201706220938.A0abG1Gi%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@free-electrons.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=yesipov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox