[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <cf7c3f7d-f47d-d077-4c84-ecb4083fe6cf@kernel.dk>
Date: Wed, 1 Aug 2018 09:13:13 -0600
From: Jens Axboe <axboe@...nel.dk>
To: zhong jiang <zhongjiang@...wei.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block/bsg-lib: use PTR_ERR_OR_ZERO to simplify the flow
path
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
Powered by blists - more mailing lists