diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2006-03-06 15:43:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-06 18:40:45 -0800 |
commit | 15730ddbf745fbda9001b8bbd71977ac66bf5f41 (patch) | |
tree | 37860475502b1ecef34cd98900cc8af3aac6952b /init | |
parent | de1d9c033f32ce39bf60e25be3b8624225fa9181 (diff) | |
download | kernel_samsung_aries-15730ddbf745fbda9001b8bbd71977ac66bf5f41.zip kernel_samsung_aries-15730ddbf745fbda9001b8bbd71977ac66bf5f41.tar.gz kernel_samsung_aries-15730ddbf745fbda9001b8bbd71977ac66bf5f41.tar.bz2 |
[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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions