[coreboot-gerrit] Change in coreboot[master]: drivers/usb: Add whitespace around '=='

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Thu Apr 26 10:30:18 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/25858


Change subject: drivers/usb: Add whitespace around '=='
......................................................................

drivers/usb: Add whitespace around '=='

Change-Id: If72ce868cdd06183e5055deb94b9d0cf12ed8738
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/drivers/usb/gadget.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/25858/1

diff --git a/src/drivers/usb/gadget.c b/src/drivers/usb/gadget.c
index ee18bd6..37e97a3 100644
--- a/src/drivers/usb/gadget.c
+++ b/src/drivers/usb/gadget.c
@@ -154,7 +154,7 @@
 		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");

-- 
To view, visit https://review.coreboot.org/25858
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If72ce868cdd06183e5055deb94b9d0cf12ed8738
Gerrit-Change-Number: 25858
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180426/915a29a2/attachment.html>


More information about the coreboot-gerrit mailing list