fbnic: Change kconfig prompt from S390=n to !S390
authorAlexander Duyck <alexanderduyck@fb.com>
Thu, 25 Jul 2024 17:03:54 +0000 (10:03 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 27 Jul 2024 01:24:50 +0000 (18:24 -0700)
In testing the recent kernel I found that the fbnic driver couldn't be
enabled on x86_64 builds. A bit of digging showed that the fbnic driver was
the only one to check for S390 to be n, all others had checked for !S390.
Since it is a boolean and not a tristate I am not sure it will be N. So
just update it to use the !S390 flag.

A quick check via "make menuconfig" verified that after making this change
there was an option to select the fbnic driver.

Fixes 0e03c643dc93 ("eth: fbnic: fix s390 build.")
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/172192698293.1903337.4255690118685300353.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/meta/Kconfig

index 86034ea4ba5b6128284787833243603fc5587973..c002ede3640202bb4cb2d0628d6b94701b6a9bd2 100644 (file)
@@ -20,7 +20,7 @@ if NET_VENDOR_META
 config FBNIC
        tristate "Meta Platforms Host Network Interface"
        depends on X86_64 || COMPILE_TEST
-       depends on S390=n
+       depends on !S390
        depends on MAX_SKB_FRAGS < 22
        depends on PCI_MSI
        select PHYLINK