diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-07-17 17:16:47 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-17 17:22:10 +0200 |
commit | dae39843f478d181da5b5e1c2c703dfcaaf838c1 (patch) | |
tree | 2f546e519c5378ebb99a9953a4323f3ee7a1a78f /drivers/s390/cio/chsc.h | |
parent | [S390] vmur: Fix return code handling. (diff) | |
download | linux-dae39843f478d181da5b5e1c2c703dfcaaf838c1.tar.xz linux-dae39843f478d181da5b5e1c2c703dfcaaf838c1.zip |
[S390] cio: Export chsc_error_from_response().
Make chsc_error_from_response() available to chsc callers outside
of chsc.c (namely qdio) to avoid duplicating error checking code.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/chsc.h')
-rw-r--r-- | drivers/s390/cio/chsc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/chsc.h b/drivers/s390/cio/chsc.h index fb6c4d6c45b4..ba59bceace98 100644 --- a/drivers/s390/cio/chsc.h +++ b/drivers/s390/cio/chsc.h @@ -101,4 +101,6 @@ void chsc_chp_online(struct chp_id chpid); void chsc_chp_offline(struct chp_id chpid); int chsc_get_channel_measurement_chars(struct channel_path *chp); +int chsc_error_from_response(int response); + #endif |