Re: [PATCH] usb: xhci: fix build warning

From: Mathias Nyman
Date: Tue Feb 02 2016 - 03:05:06 EST


On 02.02.2016 08:30, Sudip Mukherjee wrote:
We were getting build warning about:

drivers/usb/host/xhci.c: In function âxhci_add_ep_to_interval_tableâ:
drivers/usb/host/xhci.c:2499:2: warning: enumeration value
âUSB_SPEED_SUPER_PLUSâ not handled in switch

Fix it by adding SuperSpeedPlus USB3.1 devices as the behaviour is same
as with USB_SPEED_SUPER SuperSpeed devices.

Fixes: 8a1b2725a60d ("usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devices")
Cc: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
Signed-off-by: Sudip Mukherjee <sudip@xxxxxxxxxxxxxxx>

The original series that added USB_SPEED_SUPER_PLUS to both core and xhci was only partly accepted.
The core part was applied, the rest was asked to be resubmitted.

Second part is still waiting to be applied.
http://www.spinics.net/lists/linux-usb/msg135493.html

-Mathias