From: kbuild test robot <lkp@intel.com>
To: Florent Flament <contact@florentflament.com>
Cc: kbuild-all@01.org, andy.shevchenko@gmail.com, jikos@kernel.org,
benjamin.tissoires@redhat.com, linux-kernel@vger.kernel.org,
linux-input@vger.kernel.org,
Florent Flament <contact@florentflament.com>
Subject: Re: [PATCH v2 1/1] HID: Logitech K290: Add driver for the Logitech K290 USB keyboard
Date: Tue, 6 Mar 2018 05:11:42 +0800 [thread overview]
Message-ID: <201803060440.llO1FW80%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180304221425.28611-2-contact@florentflament.com>
[-- Attachment #1: Type: text/plain, Size: 2277 bytes --]
Hi Florent,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hid/for-next]
[also build test ERROR on v4.16-rc4 next-20180305]
[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/Florent-Flament/Logitech-K290-Add-driver-for-the-Logitech-K290-USB-keyboard/20180305-153311
base: https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next
config: tile-allyesconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile
All errors (new ones prefixed by >>):
>> drivers/hid/hid-logitech-k290.c:92:3: error: 'struct hid_driver' has no member named 'resume'; did you mean 'remove'?
.resume = k290_resume,
^~~~~~
remove
>> drivers/hid/hid-logitech-k290.c:92:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.resume = k290_resume,
^~~~~~~~~~~
drivers/hid/hid-logitech-k290.c:92:12: note: (near initialization for 'k290_driver.feature_mapping')
>> drivers/hid/hid-logitech-k290.c:93:3: error: 'struct hid_driver' has no member named 'reset_resume'
.reset_resume = k290_resume,
^~~~~~~~~~~~
drivers/hid/hid-logitech-k290.c:93:18: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.reset_resume = k290_resume,
^~~~~~~~~~~
drivers/hid/hid-logitech-k290.c:93:18: note: (near initialization for 'k290_driver.bus_add_driver')
cc1: some warnings being treated as errors
vim +92 drivers/hid/hid-logitech-k290.c
87
88 static struct hid_driver k290_driver = {
89 .name = "hid-logitech-k290",
90 .id_table = k290_devices,
91 .input_configured = k290_input_configured,
> 92 .resume = k290_resume,
> 93 .reset_resume = k290_resume,
94 };
95
---
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: 51495 bytes --]
prev parent reply other threads:[~2018-03-05 21:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-04 17:00 [PATCH] " Florent Flament
2018-03-04 22:14 ` [PATCH v2 0/1] " Florent Flament
2018-03-04 22:14 ` [PATCH v2 1/1] HID: " Florent Flament
2018-03-05 9:31 ` Nestor Lopez Casado
2018-03-05 17:26 ` Benjamin Tissoires
2018-03-05 23:31 ` Florent Flament
2018-03-06 23:11 ` Florent Flament
2018-03-05 23:25 ` Florent Flament
2018-03-05 15:20 ` kbuild test robot
2018-03-05 21:11 ` 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=201803060440.llO1FW80%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andy.shevchenko@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=contact@florentflament.com \
--cc=jikos@kernel.org \
--cc=kbuild-all@01.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®