From 9b41bae92129e579f2fbd003aa7e5e7b971cb881 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Thu, 26 Apr 2018 10:29:10 +0200 Subject: drivers/usb: Add spaces around '==' Change-Id: If72ce868cdd06183e5055deb94b9d0cf12ed8738 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/25858 Reviewed-by: Paul Menzel Reviewed-by: Felix Held Tested-by: build bot (Jenkins) --- src/drivers/usb/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/usb') diff --git a/src/drivers/usb/gadget.c b/src/drivers/usb/gadget.c index ee18bd6b48..37e97a3c1c 100644 --- a/src/drivers/usb/gadget.c +++ b/src/drivers/usb/gadget.c @@ -154,7 +154,7 @@ debug_dev_retry: USB_REQ_GET_DESCRIPTOR, (USB_DT_DEBUG << 8), 0, &dbgp_desc, sizeof(dbgp_desc)); if (ret == sizeof(dbgp_desc)) { - if (dbgp_desc.bLength == sizeof(dbgp_desc) && dbgp_desc.bDescriptorType==USB_DT_DEBUG) + if (dbgp_desc.bLength == sizeof(dbgp_desc) && dbgp_desc.bDescriptorType == USB_DT_DEBUG) goto debug_dev_found; else dprintk(BIOS_INFO, "Invalid debug device descriptor.\n"); -- cgit v1.2.3