Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1441515 > unrolled thread

Re: [PATCH -next] nvmet: fix return value check in nvmet_subsys_alloc()

Started byJens Axboe <axboe@kernel.dk>
First post2016-07-12 17:40 +0200
Last post2016-07-12 17:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH -next] nvmet: fix return value check in  nvmet_subsys_alloc() Jens Axboe <axboe@kernel.dk> - 2016-07-12 17:40 +0200

#1441515 — Re: [PATCH -next] nvmet: fix return value check in nvmet_subsys_alloc()

FromJens Axboe <axboe@kernel.dk>
Date2016-07-12 17:40 +0200
SubjectRe: [PATCH -next] nvmet: fix return value check in nvmet_subsys_alloc()
Message-ID<rU7WV-6Ps-19@gated-at.bofh.it>
On 07/06/2016 05:02 AM, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web