From: kernel test robot <lkp@intel.com>
To: "Leo L. Schwab" <ewhac@ewhac.org>, Hans de Goede <hansg@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, Kate Hsuan <hpa@redhat.com>,
"Leo L. Schwab" <ewhac@ewhac.org>, Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <bentiss@kernel.org>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] HID: lg-g15 - Add support for Logitech G13.
Date: Tue, 12 Aug 2025 08:00:09 +0800 [thread overview]
Message-ID: <202508120615.TGJUom52-lkp@intel.com> (raw)
In-Reply-To: <20250810225617.1006272-2-ewhac@ewhac.org>
Hi Leo,
kernel test robot noticed the following build errors:
[auto build test ERROR on hid/for-next]
[also build test ERROR on linus/master v6.17-rc1 next-20250808]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Leo-L-Schwab/HID-lg-g15-Add-support-for-Logitech-G13/20250811-070633
base: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next
patch link: https://lore.kernel.org/r/20250810225617.1006272-2-ewhac%40ewhac.org
patch subject: [PATCH] HID: lg-g15 - Add support for Logitech G13.
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20250812/202508120615.TGJUom52-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250812/202508120615.TGJUom52-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/202508120615.TGJUom52-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/hid/hid-lg-g15.c: In function 'lg_g13_event':
>> drivers/hid/hid-lg-g15.c:703:68: error: 'struct led_classdev' has no member named 'brightness_hw_changed'
703 | (!!TEST_BIT(rep->keybits, 23)) ^ (g15->leds[0].cdev.brightness_hw_changed > 0);
| ^
vim +703 drivers/hid/hid-lg-g15.c
665
666 static int lg_g13_event(struct lg_g15_data *g15, u8 const *data)
667 {
668 struct g13_input_report const * const rep = (struct g13_input_report *) data;
669 int i, val;
670 bool hw_brightness_changed;
671
672 /*
673 * Main macropad and menu keys.
674 * Emit key events defined for each bit position.
675 */
676 for (i = 0; i < ARRAY_SIZE(g13_keys_for_bits); ++i) {
677 if (g13_keys_for_bits[i]) {
678 val = TEST_BIT(rep->keybits, i);
679 input_report_key(g15->input, g13_keys_for_bits[i], val);
680 }
681 }
682 input_sync(g15->input);
683
684 /*
685 * Joystick.
686 * Emit button and deflection events.
687 */
688 for (i = 0; i < ARRAY_SIZE(g13_keys_for_bits_js); ++i) {
689 if (g13_keys_for_bits_js[i]) {
690 val = TEST_BIT(rep->keybits, i + 33);
691 input_report_key(g15->input_js, g13_keys_for_bits_js[i], val);
692 }
693 }
694 input_report_abs(g15->input_js, ABS_X, rep->joy_x);
695 input_report_abs(g15->input_js, ABS_Y, rep->joy_y);
696 input_sync(g15->input_js);
697
698 /*
699 * Bit 23 of keybits[] reports the current backlight on/off state. If
700 * it has changed from the last cached value, apply an update.
701 */
702 hw_brightness_changed =
> 703 (!!TEST_BIT(rep->keybits, 23)) ^ (g15->leds[0].cdev.brightness_hw_changed > 0);
704 if (hw_brightness_changed) {
705 led_classdev_notify_brightness_hw_changed(
706 &g15->leds[0].cdev,
707 TEST_BIT(rep->keybits, 23) ? LED_FULL : LED_OFF);
708 }
709
710 return 0;
711 }
712
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-08-12 0:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-10 22:56 [PATCH] HID: lg-g15 - Add support for Logitech G13 Leo L. Schwab
2025-08-11 17:00 ` Markus Elfring
2025-08-12 6:51 ` Leo L. Schwab
2025-08-11 17:10 ` Markus Elfring
2025-08-12 0:00 ` 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=202508120615.TGJUom52-lkp@intel.com \
--to=lkp@intel.com \
--cc=bentiss@kernel.org \
--cc=ewhac@ewhac.org \
--cc=hansg@kernel.org \
--cc=hpa@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.