* [PATCH] dvb-usb/opera1: misplaced parenthesis
@ 2010-02-15 22:30 Roel Kluin
0 siblings, 0 replies; only message in thread
From: Roel Kluin @ 2010-02-15 22:30 UTC (permalink / raw)
To: Mauro Carvalho Chehab, linux-media, Andrew Morton, LKML
The parenthesis was misplaced, tmp is set to 0 or break occurs,
while debugging opera1_usb_i2c_msgxfer() retval was not shown.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/drivers/media/dvb/dvb-usb/opera1.c b/drivers/media/dvb/dvb-usb/opera1.c
index d4e2309..8305576 100644
--- a/drivers/media/dvb/dvb-usb/opera1.c
+++ b/drivers/media/dvb/dvb-usb/opera1.c
@@ -138,7 +138,7 @@ static int opera1_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
(msg[i].addr<<1)|(msg[i].flags&I2C_M_RD?0x01:0),
msg[i].buf,
msg[i].len
- )!= msg[i].len)) {
+ )) != msg[i].len) {
break;
}
if (dvb_usb_opera1_debug & 0x10)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-15 22:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 22:30 [PATCH] dvb-usb/opera1: misplaced parenthesis Roel Kluin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox