Patch "HID: uclogic: Modular KUnit tests should not depend on KUNIT=y" has been added to the 6.3-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    HID: uclogic: Modular KUnit tests should not depend on KUNIT=y

to the 6.3-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     hid-uclogic-modular-kunit-tests-should-not-depend-on.patch
and it can be found in the queue-6.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit bc087c7885870c02de6aa9e84915100536ab47b7
Author: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Date:   Tue May 23 17:10:59 2023 +0200

    HID: uclogic: Modular KUnit tests should not depend on KUNIT=y
    
    [ Upstream commit 49904a0ebf23b15aad288a10f5354e7cd8193121 ]
    
    While KUnit tests that cannot be built as a loadable module must depend
    on "KUNIT=y", this is not true for modular tests, where it adds an
    unnecessary limitation.
    
    Fix this by relaxing the dependency to "KUNIT".
    
    Fixes: 08809e482a1c44d9 ("HID: uclogic: KUnit best practices and naming conventions")
    Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
    Reviewed-by: David Gow <davidgow@xxxxxxxxxx>
    Reviewed-by: José Expósito <jose.exposito89@xxxxxxxxx>
    Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 4ce012f83253e..b977450cac752 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -1285,7 +1285,7 @@ config HID_MCP2221
 
 config HID_KUNIT_TEST
 	tristate "KUnit tests for HID" if !KUNIT_ALL_TESTS
-	depends on KUNIT=y
+	depends on KUNIT
 	depends on HID_BATTERY_STRENGTH
 	depends on HID_UCLOGIC
 	default KUNIT_ALL_TESTS



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux