[PATCH] s390: lcs incorrect test
authorGreg Smith <[email protected]>
Mon, 15 May 2006 16:44:02 +0000 (09:44 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Cc: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/s390/net/lcs.c