[<prev] [next>] [day] [month] [year] [list]
Message-ID: <495E045E.5080701@gmail.com>
Date: Fri, 02 Jan 2009 13:11:10 +0100
From: Roel Kluin <roel.kluin@...il.com>
To: lkml <linux-kernel@...r.kernel.org>
CC: tim@...erelk.net
Subject: [PATCH?] paride/pg.c: xs(): &&/|| confusion
&&/|| confusion
Signed-off-by: Roel Kluin <roel.kluin@...il.com>
---
to Tim: If you can no longer maintain, you may want to remove your
listing in the maintainers file.
Can anyone else test this on hardware?
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c
index 9dfa271..c397b3d 100644
--- a/drivers/block/paride/pg.c
+++ b/drivers/block/paride/pg.c
@@ -422,7 +422,7 @@ static void xs(char *buf, char *targ, int len)
for (k = 0; k < len; k++) {
char c = *buf++;
- if (c != ' ' || c != l)
+ if (c != ' ' && c != l)
l = *targ++ = c;
}
if (l == ' ')
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists