[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git-commits-head
Subject:    [PATCH] usbcld typo
From:       Linux Kernel Mailing List <linux-kernel () vger ! kernel ! org>
Date:       2003-02-28 22:19:46
[Download RAW message or body]

ChangeSet 1.1117.3.6, 2003/02/28 14:19:46-08:00, levon@movementarian.org

	[PATCH] usbcld typo
	
	Against 2.5.63. I believe && is meant here, not &.


# This patch includes the following deltas:
#	           ChangeSet	1.1117.3.5 -> 1.1117.3.6
#	drivers/usb/misc/usblcd.c	1.6     -> 1.7    
#

 usblcd.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/misc/usblcd.c b/drivers/usb/misc/usblcd.c
--- a/drivers/usb/misc/usblcd.c	Fri Feb 28 16:07:31 2003
+++ b/drivers/usb/misc/usblcd.c	Fri Feb 28 16:07:31 2003
@@ -153,7 +153,7 @@
 				}
 				interruptible_sleep_on_timeout(&lcd-> wait_q, NAK_TIMEOUT);
 				continue;
-			} else if (!result & partial) {
+			} else if (!result && partial) {
 				obuf += partial;
 				thistime -= partial;
 			} else
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic