]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] s390: improve response code handling in chsc_enable_facility()
authorCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 6 Mar 2006 23:43:02 +0000 (15:43 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 7 Mar 2006 02:40:45 +0000 (18:40 -0800)
commit15730ddbf745fbda9001b8bbd71977ac66bf5f41
tree37860475502b1ecef34cd98900cc8af3aac6952b
parentde1d9c033f32ce39bf60e25be3b8624225fa9181
[PATCH] s390: improve response code handling in chsc_enable_facility()

Rather than checking for some known failures, check positively for the
success response code 0x0001 and return -EIO for unrecognized failure
response codes.

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: Greg Smith <gsmith@nc.rr.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/cio/chsc.c