]> git.baikalelectronics.ru Git - kernel.git/commit
blk-integrity: checking for NULL instead of IS_ERR
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 9 Dec 2015 10:21:23 +0000 (13:21 +0300)
committerJens Axboe <axboe@fb.com>
Wed, 9 Dec 2015 15:04:29 +0000 (08:04 -0700)
commit2a6612bc763e6c0e488c133cae0aeb468f340551
tree18e857e72e4dcbd7969ef68d7086b3375e10e6d0
parent05bdff106714b7e5c49ad0bec96f6f3b5a9b2286
blk-integrity: checking for NULL instead of IS_ERR

We recently changed bio_integrity_alloc() to return ERR_PTRs instead of
NULL but these calls were missed.

Fixes: 536cac57a746 ('blk-integrity: empty implementation when disabled')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio-integrity.c