From: kernel test robot <lkp@intel.com>
To: Erica Taylor <rickytaylor26@gmail.com>, linux-input@vger.kernel.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Erica Taylor <rickytaylor26@gmail.com>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Lee Jones <lee.jones@linaro.org>,
Benjamin Valentin <benpicco@googlemail.com>,
Matt Reynolds <mattreynolds@chromium.org>,
Andrzej Pietrasiewicz <andrzej.p@collabora.com>,
Sanjay Govind <sanjay.govind9@gmail.com>
Subject: Re: [PATCH 2/2] Input: xpad - add Logitech G923 Xbox variant
Date: Fri, 28 May 2021 02:22:00 +0800 [thread overview]
Message-ID: <202105280238.WyL0DwCz-lkp@intel.com> (raw)
In-Reply-To: <20210527134104.217865-3-rickytaylor26@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4472 bytes --]
Hi Erica,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on hid/for-next]
[also build test ERROR on input/next v5.13-rc3]
[cannot apply to next-20210527]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Erica-Taylor/G923-Racing-Wheel-support/20210527-214315
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
config: x86_64-randconfig-r025-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6505c630407c5feec818f0bb1c284f9eeebf2071)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/ae500b9fb85860a6590531cecf51be335880aa67
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Erica-Taylor/G923-Racing-Wheel-support/20210527-214315
git checkout ae500b9fb85860a6590531cecf51be335880aa67
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/input/joystick/xpad.c:1020:51: error: use of undeclared identifier 'g923_hidpp_init'
memcpy(xpad->odata, g923_hidpp_init, ARRAY_SIZE(g923_hidpp_init));
^
>> drivers/input/joystick/xpad.c:1020:51: error: use of undeclared identifier 'g923_hidpp_init'
>> drivers/input/joystick/xpad.c:1020:51: error: use of undeclared identifier 'g923_hidpp_init'
drivers/input/joystick/xpad.c:1020:23: error: use of undeclared identifier 'g923_hidpp_init'
memcpy(xpad->odata, g923_hidpp_init, ARRAY_SIZE(g923_hidpp_init));
^
drivers/input/joystick/xpad.c:1021:54: error: use of undeclared identifier 'g923_hidpp_init'
xpad->irq_out->transfer_buffer_length = ARRAY_SIZE(g923_hidpp_init);
^
drivers/input/joystick/xpad.c:1021:54: error: use of undeclared identifier 'g923_hidpp_init'
drivers/input/joystick/xpad.c:1021:54: error: use of undeclared identifier 'g923_hidpp_init'
7 errors generated.
vim +/g923_hidpp_init +1020 drivers/input/joystick/xpad.c
988
989 /* Callers must hold xpad->odata_lock spinlock */
990 static bool xpad_prepare_next_init_packet(struct usb_xpad *xpad)
991 {
992 const struct xboxone_init_packet *init_packet;
993
994 if (xpad->xtype != XTYPE_XBOXONE)
995 return false;
996
997 /* Perform initialization sequence for Xbox One pads that require it */
998 while (xpad->init_seq < ARRAY_SIZE(xboxone_init_packets)) {
999 init_packet = &xboxone_init_packets[xpad->init_seq++];
1000
1001 if (init_packet->idVendor != 0 &&
1002 init_packet->idVendor != xpad->dev->id.vendor)
1003 continue;
1004
1005 if (init_packet->idProduct != 0 &&
1006 init_packet->idProduct != xpad->dev->id.product)
1007 continue;
1008
1009 /* This packet applies to our device, so prepare to send it */
1010 memcpy(xpad->odata, init_packet->data, init_packet->len);
1011 xpad->irq_out->transfer_buffer_length = init_packet->len;
1012
1013 /* Update packet with current sequence number */
1014 xpad->odata[2] = xpad->odata_serial++;
1015 return true;
1016 }
1017
1018 if (switch_to_hidpp && xpad->mapping & HIDPP_CAPABLE) {
1019 dev_dbg(&xpad->intf->dev, "%s - switching to HID++", __func__);
> 1020 memcpy(xpad->odata, g923_hidpp_init, ARRAY_SIZE(g923_hidpp_init));
1021 xpad->irq_out->transfer_buffer_length = ARRAY_SIZE(g923_hidpp_init);
1022 xpad->odata[2] = xpad->odata_serial++;
1023 return true;
1024 }
1025
1026 return false;
1027 }
1028
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38222 bytes --]
prev parent reply other threads:[~2021-05-27 18:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-27 13:41 [PATCH 0/2] G923 Racing Wheel support Erica Taylor
2021-05-27 13:41 ` [PATCH 1/2] HID: logitech-hidpp: add G923 Erica Taylor
2021-05-27 13:41 ` [PATCH 2/2] Input: xpad - add Logitech G923 Xbox variant Erica Taylor
2021-05-27 14:21 ` Erica Taylor
2021-05-27 14:54 ` kernel test robot
2021-05-27 18:22 ` kernel 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=202105280238.WyL0DwCz-lkp@intel.com \
--to=lkp@intel.com \
--cc=andrzej.p@collabora.com \
--cc=benjamin.tissoires@redhat.com \
--cc=benpicco@googlemail.com \
--cc=clang-built-linux@googlegroups.com \
--cc=dmitry.torokhov@gmail.com \
--cc=jikos@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=lee.jones@linaro.org \
--cc=linux-input@vger.kernel.org \
--cc=mattreynolds@chromium.org \
--cc=rickytaylor26@gmail.com \
--cc=sanjay.govind9@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;
as well as URLs for NNTP newsgroup(s).