Re: [patch] blk-integrity: checking for NULL instead of IS_ERR

2015-12-09 Thread Jens Axboe
On 12/09/2015 03:21 AM, Dan Carpenter wrote: We recently changed bio_integrity_alloc() to return ERR_PTRs instead of NULL but these calls were missed. Fixes: 06c1e3902aa7 ('blk-integrity: empty implementation when disabled') Signed-off-by: Dan Carpenter Thanks, applied. -- Jens Axboe -- To

Re: [patch] blk-integrity: checking for NULL instead of IS_ERR

2015-12-09 Thread Johannes Thumshirn
On Wed, 2015-12-09 at 13:21 +0300, Dan Carpenter wrote: > We recently changed bio_integrity_alloc() to return ERR_PTRs instead of > NULL but these calls were missed. > > Fixes: 06c1e3902aa7 ('blk-integrity: empty implementation when disabled') > Signed-off-by: Dan Carpenter > > diff --git a/bloc

[patch] blk-integrity: checking for NULL instead of IS_ERR

2015-12-09 Thread Dan Carpenter
We recently changed bio_integrity_alloc() to return ERR_PTRs instead of NULL but these calls were missed. Fixes: 06c1e3902aa7 ('blk-integrity: empty implementation when disabled') Signed-off-by: Dan Carpenter diff --git a/block/bio-integrity.c b/block/bio-integrity.c index e6ba501..711e4d8d 1006