[PATCH] s390: lcs incorrect test
authorGreg Smith <gsmith@nc.rr.com>
Mon, 15 May 2006 16:44:02 +0000 (09:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 15 May 2006 18:20:55 +0000 (11:20 -0700)
commit698d070746770aaaec78ab4ffa3ab1f1d5c6abe8
tree00aab6741bbc7e8c419903a7d8f4f876889c7a8a
parentac924c6034d9095f95ee889f7e31bbb9145da0c2
[PATCH] s390: lcs incorrect test

While debugging why our LCS emulator is having some problems I noticed the
following weirdness in drivers/s390/net/lcs.c routine lcs_irq.  The `if'
statement is always true since SCHN_STAT_PCI is defined as 0x80.

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/net/lcs.c