projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e94c587
)
USB: assign instead of equal in usbtmc.c
author
Maxim Nikulin
<m.a.nikulin@gmail.com>
Sat, 9 Jul 2011 16:44:44 +0000
(23:44 +0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 8 Aug 2011 19:34:45 +0000
(12:34 -0700)
Assign operator instead of equality test in the usbtmc_ioctl_abort_bulk_in() function.
Signed-off-by: Maxim A. Nikulin <M.A.Nikulin@gmail.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/usbtmc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/class/usbtmc.c
b/drivers/usb/class/usbtmc.c
index 385acb895ab3518bcbd712ccf91e669220e0a5ea..3f94ac34dce31b80440689ae7f0d319a7d2f908c 100644
(file)
--- a/
drivers/usb/class/usbtmc.c
+++ b/
drivers/usb/class/usbtmc.c
@@
-268,7
+268,7
@@
usbtmc_abort_bulk_in_status:
dev_err(dev, "usb_bulk_msg returned %d\n", rv);
goto exit;
}
- } while ((actual = max_size) &&
+ } while ((actual =
=
max_size) &&
(n < USBTMC_MAX_READS_TO_CLEAR_BULK_IN));
if (actual == max_size) {