Re: [PATCH] block/bsg-lib: use PTR_ERR_OR_ZERO to simplify the flow path

From: Jens Axboe
Date: Wed Aug 01 2018 - 11:13:19 EST


On 7/31/18 10:13 AM, zhong jiang wrote:
> Simplify the code by using the PTR_ERR_OR_ZERO, instead of the
> open code. It is better.

Applied, thanks.

--
Jens Axboe