LNET_MINOR and USERIO_MINOR are the same value, so
they cannot both be used in the same kernel.
Until this is resolved, don't allow them to be built
together.  This saves automatic testing from noticing this
known problem.

Reported-by: kernel test robot <fengguang...@intel.com>
Signed-off-by: NeilBrown <ne...@suse.com>
---
 drivers/staging/lustre/lnet/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/lustre/lnet/Kconfig 
b/drivers/staging/lustre/lnet/Kconfig
index ad049e6f24e4..fe4b24acf075 100644
--- a/drivers/staging/lustre/lnet/Kconfig
+++ b/drivers/staging/lustre/lnet/Kconfig
@@ -1,6 +1,6 @@
 config LNET
        tristate "Lustre networking subsystem (LNet)"
-       depends on INET
+       depends on INET && !USERIO
        help
          The Lustre network layer, also known as LNet, is a networking 
abstaction
          level API that was initially created to allow Lustre Filesystem to 
utilize


Reply via email to