diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2017-09-18 12:25:22 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-09-19 08:36:18 +0200 |
commit | c8b850241559d6bad7e640075e282a83a4ad7ead (patch) | |
tree | 2cf162af24282ce71c3c9475d4b4ad9c6d396b0d /drivers/s390/cio/device.h | |
parent | 673514aff5d797b0cdb3f09097ae0e253b5667c3 (diff) | |
download | blackbird-op-linux-c8b850241559d6bad7e640075e282a83a4ad7ead.tar.gz blackbird-op-linux-c8b850241559d6bad7e640075e282a83a4ad7ead.zip |
s390/scm_blk: consistently use blk_status_t as error type
Fix these warnings found by sparse:
drivers/s390/block/scm_blk.c:257:24: warning: incorrect type in assignment (different base types)
drivers/s390/block/scm_blk.c:257:24: expected int [signed] <noident>
drivers/s390/block/scm_blk.c:257:24: got restricted blk_status_t [usertype] error
drivers/s390/block/scm_blk.c:420:33: warning: incorrect type in argument 2 (different base types)
drivers/s390/block/scm_blk.c:420:33: expected restricted blk_status_t [usertype] error
drivers/s390/block/scm_blk.c:420:33: got int [signed] <noident>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/device.h')
0 files changed, 0 insertions, 0 deletions