Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f5545d24 authored by Roland Dreier's avatar Roland Dreier
Browse files

IPoIB: Always build debugging code unless CONFIG_EMBEDDED=y



Don't allow CONFIG_INFINIBAND_IPOIB_DEBUG to be disabled unless
CONFIG_EMBEDDED is selected.  We want users (and especially distros)
to have this turned on unless they really need to save space, because
by the time we want debugging output, it's usually too late to rebuild
a kernel.  The debugging output can be controlled at runtime via the
debug_level module parameter in sysfs.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 37289efe
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -10,8 +10,9 @@ config INFINIBAND_IPOIB
	  group: <http://www.ietf.org/html.charters/ipoib-charter.html>.
	  group: <http://www.ietf.org/html.charters/ipoib-charter.html>.


config INFINIBAND_IPOIB_DEBUG
config INFINIBAND_IPOIB_DEBUG
	bool "IP-over-InfiniBand debugging"
	bool "IP-over-InfiniBand debugging" if EMBEDDED
	depends on INFINIBAND_IPOIB
	depends on INFINIBAND_IPOIB
	default y
	---help---
	---help---
	  This option causes debugging code to be compiled into the
	  This option causes debugging code to be compiled into the
	  IPoIB driver.  The output can be turned on via the
	  IPoIB driver.  The output can be turned on via the