diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2017-09-18 13:25:22 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-09-19 09:36:18 +0300 |
commit | c8b850241559d6bad7e640075e282a83a4ad7ead (patch) | |
tree | 2cf162af24282ce71c3c9475d4b4ad9c6d396b0d /block/sed-opal.c | |
parent | 673514aff5d797b0cdb3f09097ae0e253b5667c3 (diff) | |
download | linux-c8b850241559d6bad7e640075e282a83a4ad7ead.tar.xz |
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 'block/sed-opal.c')
0 files changed, 0 insertions, 0 deletions