Patch "Input: tests - modular KUnit tests should not depend on KUNIT=y" has been added to the 6.4-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

    Input: tests - modular KUnit tests should not depend on KUNIT=y

to the 6.4-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:
     input-tests-modular-kunit-tests-should-not-depend-on.patch
and it can be found in the queue-6.4 subdirectory.

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



commit 53ad4287558301c03770f8551bc39af228a04d87
Author: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
Date:   Tue May 2 09:42:29 2023 -0700

    Input: tests - modular KUnit tests should not depend on KUNIT=y
    
    [ Upstream commit e0f41f836f5e861bdcaf4719f160b62dbb8e9485 ]
    
    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: fdefcbdd6f361841 ("Input: Add KUnit tests for some of the input core helper functions")
    Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
    Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/483c4f520e4acc6357ebba3e605977b4c56374df.1683022164.git.geert+renesas@xxxxxxxxx
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 735f90b74ee5a..3bdbd34314b34 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -168,7 +168,7 @@ config INPUT_EVBUG
 
 config INPUT_KUNIT_TEST
 	tristate "KUnit tests for Input" if !KUNIT_ALL_TESTS
-	depends on INPUT && KUNIT=y
+	depends on INPUT && KUNIT
 	default KUNIT_ALL_TESTS
 	help
 	  Say Y here if you want to build the KUnit tests for the input



[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