USBIP: add config dependency for SGL_ALLOC
authorOliver Neukum <oneukum@suse.com>
Tue, 12 Nov 2019 15:49:39 +0000 (16:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2019 09:10:20 +0000 (10:10 +0100)
commit 1ec13abac58b6f24e32f0d3081ef4e7456e62ed8 upstream.

USBIP uses lib/scatterlist.h
Hence it needs to set CONFIG_SGL_ALLOC

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20191112154939.21217-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/usbip/Kconfig

index 2f86b28..7bbae7a 100644 (file)
@@ -4,6 +4,7 @@ config USBIP_CORE
        tristate "USB/IP support"
        depends on NET
        select USB_COMMON
+       select SGL_ALLOC
        ---help---
          This enables pushing USB packets over IP to allow remote
          machines direct access to USB devices. It provides the