[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241208-hid-ifdef-kunit-v1-0-cbea6077a233@weissschuh.net>
Date: Sun, 08 Dec 2024 13:01:50 +0100
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Jiri Kosina <jikos@...nel.org>, Benjamin Tissoires <bentiss@...nel.org>,
José Expósito <jose.exposito89@...il.com>
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
Thomas Weißschuh <linux@...ssschuh.net>
Subject: [PATCH 0/2] HID: fix test for CONFIG_HID_KUNIT_TEST=m
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@...ssschuh.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@...ssschuh.net>
Powered by blists - more mailing lists