Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

paride/pg.c: xs(): &&/|| confusion

&&/|| 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>

authored by

Roel Kluin and committed by
Jens Axboe
c8cbec6b a60e78e5

+1 -1
+1 -1
drivers/block/paride/pg.c
··· 422 422 423 423 for (k = 0; k < len; k++) { 424 424 char c = *buf++; 425 - if (c != ' ' || c != l) 425 + if (c != ' ' && c != l) 426 426 l = *targ++ = c; 427 427 } 428 428 if (l == ' ')