ソースを参照

usb: early: fixed coding style issue related to : operator

Fixed a space issue relating to ":" operator found
by checkpatch.pl tool in drivers/usb/early/ehci-dbgp.c

Signed-off-by: Jeffrin Jose <ahiliation@yahoo.co.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jeffrin Jose 13 年 前
コミット
4d4847b850
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/usb/early/ehci-dbgp.c

+ 1 - 1
drivers/usb/early/ehci-dbgp.c

@@ -334,7 +334,7 @@ static int dbgp_control_msg(unsigned devnum, int requesttype,
 	int ret;
 
 	read = (requesttype & USB_DIR_IN) != 0;
-	if (size > (read ? DBGP_MAX_PACKET:0))
+	if (size > (read ? DBGP_MAX_PACKET : 0))
 		return -1;
 
 	/* Compute the control message */