public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] HID: fix test for CONFIG_HID_KUNIT_TEST=m
@ 2024-12-08 12:01 Thomas Weißschuh
  2024-12-08 12:01 ` [PATCH 1/2] HID: input: " Thomas Weißschuh
  2024-12-08 12:01 ` [PATCH 2/2] HID: uclogic: " Thomas Weißschuh
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Weißschuh @ 2024-12-08 12:01 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires, José Expósito
  Cc: linux-input, linux-kernel, Thomas Weißschuh

If CONFIG_HID_KUNIT_TEST is set to "m", the #ifdef test does not work.
Switch to IS_ENABLED() which works for both "m" and "y".

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
Thomas Weißschuh (2):
      HID: input: fix test for CONFIG_HID_KUNIT_TEST=m
      HID: uclogic: fix test for CONFIG_HID_KUNIT_TEST=m

 drivers/hid/hid-input.c          | 2 +-
 drivers/hid/hid-uclogic-core.c   | 2 +-
 drivers/hid/hid-uclogic-params.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: 7503345ac5f5e82fd9a36d6e6b447c016376403a
change-id: 20241208-hid-ifdef-kunit-75643b52239a

Best regards,
-- 
Thomas Weißschuh <linux@weissschuh.net>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-09  5:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-08 12:01 [PATCH 0/2] HID: fix test for CONFIG_HID_KUNIT_TEST=m Thomas Weißschuh
2024-12-08 12:01 ` [PATCH 1/2] HID: input: " Thomas Weißschuh
2024-12-09  5:08   ` kernel test robot
2024-12-08 12:01 ` [PATCH 2/2] HID: uclogic: " Thomas Weißschuh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox