[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57850DF5.2090209@kernel.dk>
Date: Tue, 12 Jul 2016 08:34:13 -0700
From: Jens Axboe <axboe@...nel.dk>
To: weiyj_lk@....com, Christoph Hellwig <hch@....de>,
Sagi Grimberg <sagi@...mberg.me>
Cc: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
linux-kernel@...r.kernel.org, linux-nvme@...ts.infradead.org
Subject: Re: [PATCH -next] nvmet: fix return value check in
nvmet_subsys_alloc()
On 07/06/2016 05:02 AM, weiyj_lk@....com wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> In case of error, the function kstrndup() returns NULL pointer
> not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
Added for 4.8, thanks.
--
Jens Axboe
Powered by blists - more mailing lists