On Fri, Nov 20, 2020 at 08:46:45AM -0800, Kamal Mostafa wrote:
From: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> commit 190bb01b72d2d5c3654a03c42fb1ad0dc6114c79 upstream. The error_debugfs label is only used when either CONFIG_USB_DWC2_PERIPHERAL or CONFIG_USB_DWC2_DUAL_ROLE is enabled. Add the same #if to the error_debugfs label itself as the code which uses this label already has. This avoids the following compiler warning: warning: label ‘error_debugfs’ defined but not used [-Wunused-label] Fixes: e1c08cf23172ed ("usb: dwc2: Add missing cleanups when usb_add_gadget_udc() fails") Acked-by: Minas Harutyunyan <Minas.Harutyunyan@xxxxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Reported-by: Jens Axboe <axboe@xxxxxxxxx> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> Signed-off-by: Felipe Balbi <balbi@xxxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx # 5.9.x Signed-off-by: Kamal Mostafa <kamal@xxxxxxxxxxxxx>
Queued up, thanks! -- Thanks, Sasha