projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60e78e
)
paride/pg.c: xs(): &&/|| confusion
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 16 Feb 2009 12:11:55 +0000
(13:11 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 18 Feb 2009 09:32:01 +0000
(10:32 +0100)
&&/|| confusion
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/paride/pg.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/paride/pg.c
b/drivers/block/paride/pg.c
index 9dfa27163001e9d31de36f5196be7db0f2334a2d..c397b3ddba9b8676293bf773edfa90b29cf3101d 100644
(file)
--- 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 == ' ')