Re: [PATCH] [v2] wireless: Initial driver submission for pureLiFi devices

Started by Johannes Berg on Sep 30, 2020 · 2 messages from 2 authors · Last reply Sep 30, 2020

open the first message on its own page

Message details and related content
On Wed, 2020-09-30 at 12:55 +0300, Leon Romanovsky wrote:
On Wed, Sep 30, 2020 at 11:01:27AM +0300, Kalle Valo wrote:
quoted
Leon Romanovsky [off-list ref] writes:
quoted
quoted
diff --git a/drivers/net/wireless/purelifi/Kconfig
b/drivers/net/wireless/purelifi/Kconfig
quoted
new file mode 100644
index 000000000000..ff05eaf0a8d4
--- /dev/null
+++ b/drivers/net/wireless/purelifi/Kconfig
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0
+config WLAN_VENDOR_PURELIFI
+	bool "pureLiFi devices"
+	default y
"N" is preferred default.
In most cases that's true, but for WLAN_VENDOR_ configs 'default y'
should be used. It's the same as with NET_VENDOR_.
I would like to challenge it, why is that?
Why do I need to set "N", every time new vendor upstreams its code?
You don't. The WLAN_VENDOR_* settings are not supposed to affect the
build, just the Kconfig visibility.

johannes
Message details and related content
On Wed, Sep 30, 2020 at 12:11:24PM +0200, Johannes Berg wrote:
On Wed, 2020-09-30 at 12:55 +0300, Leon Romanovsky wrote:
quoted
On Wed, Sep 30, 2020 at 11:01:27AM +0300, Kalle Valo wrote:
quoted
Leon Romanovsky [off-list ref] writes:
quoted
quoted
diff --git a/drivers/net/wireless/purelifi/Kconfig
b/drivers/net/wireless/purelifi/Kconfig
quoted
new file mode 100644
index 000000000000..ff05eaf0a8d4
--- /dev/null
+++ b/drivers/net/wireless/purelifi/Kconfig
@@ -0,0 +1,38 @@
+# SPDX-License-Identifier: GPL-2.0
+config WLAN_VENDOR_PURELIFI
+	bool "pureLiFi devices"
+	default y
"N" is preferred default.
In most cases that's true, but for WLAN_VENDOR_ configs 'default y'
should be used. It's the same as with NET_VENDOR_.
I would like to challenge it, why is that?
Why do I need to set "N", every time new vendor upstreams its code?
You don't. The WLAN_VENDOR_* settings are not supposed to affect the
build, just the Kconfig visibility.
Which is important to me, I'm keeping .config as minimal as possible
to simplify comparison between various builds.

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help