mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Oleg Keri <okerixx@gmail.com>,
	"Derek J. Clark" <derekjohn.clark@gmail.com>,
	Mark Pearson <mpearson-lenovo@squebb.ca>,
	Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <bentiss@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] HID: lenovo: suppress phantom radio control input on Yoga Slim 7x Gen 11
Date: Wed, 9 Sep 2026 23:15:15 +0800	[thread overview]
Message-ID: <202609092332.pk1AmDaL-lkp@intel.com> (raw)
In-Reply-To: <20260908091907.5653-1-okerixx@gmail.com>

Hi Oleg,

kernel test robot noticed the following build errors:

[auto build test ERROR on 5e036ce12de91c6fd674dad33b169c6150be2a7a]

url:    https://github.com/intel-lab-lkp/linux/commits/Oleg-Keri/HID-lenovo-suppress-phantom-radio-control-input-on-Yoga-Slim-7x-Gen-11/20260908-111907
base:   5e036ce12de91c6fd674dad33b169c6150be2a7a
patch link:    https://lore.kernel.org/r/20260908091907.5653-1-okerixx%40gmail.com
patch subject: [PATCH] HID: lenovo: suppress phantom radio control input on Yoga Slim 7x Gen 11
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20260909/202609092332.pk1AmDaL-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260909/202609092332.pk1AmDaL-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609092332.pk1AmDaL-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/hid/hid-lenovo.c: In function 'lenovo_input_mapping':
>> drivers/hid/hid-lenovo.c:523:14: error: 'I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_G11_KEYBOARD' undeclared (first use in this function); did you mean 'I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_KEYBOARD'?
     523 |         case I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_G11_KEYBOARD:
         |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         |              I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_KEYBOARD
   drivers/hid/hid-lenovo.c:523:14: note: each undeclared identifier is reported only once for each function it appears in
   In file included from drivers/hid/hid-lenovo.c:30:
   drivers/hid/hid-lenovo.c: At top level:
>> drivers/hid/hid-lenovo.c:1584:41: error: 'I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_G11_KEYBOARD' undeclared here (not in a function); did you mean 'I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_KEYBOARD'?
    1584 |                      USB_VENDOR_ID_ITE, I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_G11_KEYBOARD) },
         |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/hid.h:817:64: note: in definition of macro 'HID_DEVICE'
     817 |         .bus = (b), .group = (g), .vendor = (ven), .product = (prod)
         |                                                                ^~~~


vim +523 drivers/hid/hid-lenovo.c

   488	
   489	static int lenovo_input_mapping(struct hid_device *hdev,
   490			struct hid_input *hi, struct hid_field *field,
   491			struct hid_usage *usage, unsigned long **bit, int *max)
   492	{
   493		switch (hdev->product) {
   494		case USB_DEVICE_ID_LENOVO_TPKBD:
   495			return lenovo_input_mapping_tpkbd(hdev, hi, field,
   496								usage, bit, max);
   497		case USB_DEVICE_ID_LENOVO_CUSBKBD:
   498		case USB_DEVICE_ID_LENOVO_CBTKBD:
   499			return lenovo_input_mapping_cptkbd(hdev, hi, field,
   500								usage, bit, max);
   501		case USB_DEVICE_ID_LENOVO_TPIIUSBKBD:
   502		case USB_DEVICE_ID_LENOVO_TPIIBTKBD:
   503			return lenovo_input_mapping_tpIIkbd(hdev, hi, field,
   504								usage, bit, max);
   505		case USB_DEVICE_ID_IBM_SCROLLPOINT_III:
   506		case USB_DEVICE_ID_IBM_SCROLLPOINT_PRO:
   507		case USB_DEVICE_ID_IBM_SCROLLPOINT_OPTICAL:
   508		case USB_DEVICE_ID_IBM_SCROLLPOINT_800DPI_OPTICAL:
   509		case USB_DEVICE_ID_IBM_SCROLLPOINT_800DPI_OPTICAL_PRO:
   510		case USB_DEVICE_ID_LENOVO_SCROLLPOINT_OPTICAL:
   511			return lenovo_input_mapping_scrollpoint(hdev, hi, field,
   512								usage, bit, max);
   513		case USB_DEVICE_ID_LENOVO_TP10UBKBD:
   514			return lenovo_input_mapping_tp10_ultrabook_kbd(hdev, hi, field,
   515								       usage, bit, max);
   516		case USB_DEVICE_ID_LENOVO_X12_TAB:
   517		case USB_DEVICE_ID_LENOVO_X12_TAB2:
   518		case USB_DEVICE_ID_LENOVO_X13_TAB:
   519		case USB_DEVICE_ID_LENOVO_X1_TAB:
   520		case USB_DEVICE_ID_LENOVO_X1_TAB2:
   521		case USB_DEVICE_ID_LENOVO_X1_TAB3:
   522			return lenovo_input_mapping_x1_tab_kbd(hdev, hi, field, usage, bit, max);
 > 523		case I2C_DEVICE_ID_ITE_LENOVO_YOGA_SLIM_7X_G11_KEYBOARD:
   524			return lenovo_input_mapping_yoga7x_g11_kbd(hdev, hi, field, usage, bit, max);
   525		default:
   526			return 0;
   527		}
   528	}
   529	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2026-09-09 15:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-08  9:19 Oleg Keri
2026-09-09 15:15 ` kernel test robot [this message]
2026-09-09 23:48 ` kernel test robot
2026-09-10  6:33   ` Oleg Keri

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=202609092332.pk1AmDaL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bentiss@kernel.org \
    --cc=derekjohn.clark@gmail.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpearson-lenovo@squebb.ca \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=okerixx@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

all inboxes | Powered by JetHome®