]> git.baikalelectronics.ru Git - kernel.git/commit
kunit: building kunit as a module breaks allmodconfig
authorAlan Maguire <alan.maguire@oracle.com>
Fri, 10 Jan 2020 11:49:25 +0000 (11:49 +0000)
committerShuah Khan <skhan@linuxfoundation.org>
Fri, 10 Jan 2020 21:36:37 +0000 (14:36 -0700)
commita14a819af4f1948df93d7aba2f2d7c86ace84a57
tree0efdd18b63c138cb7674a640dcf802f8a2b15884
parent18805f8e744edcaf6590aa24e945850c0bf2b974
kunit: building kunit as a module breaks allmodconfig

kunit tests that do not support module build should depend
on KUNIT=y rather than just KUNIT in Kconfig, otherwise
they will trigger compilation errors for "make allmodconfig"
builds.

Fixes: 4f5d7dd4ae8f ("kunit: allow kunit to be loaded as a module")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
drivers/base/Kconfig
security/apparmor/Kconfig