Message ID | 201108080026.50989.rjw@sisk.pl (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Index: linux-2.6/drivers/tty/serial/sh-sci.c =================================================================== --- linux-2.6.orig/drivers/tty/serial/sh-sci.c +++ linux-2.6/drivers/tty/serial/sh-sci.c @@ -1889,7 +1889,7 @@ static int __devinit sci_init_single(str if (p->regtype == SCIx_PROBE_REGTYPE) { ret = sci_probe_regmap(p); - if (unlikely(!ret)) + if (unlikely(ret)) return ret; }