Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1441515
| From | Jens Axboe <axboe@kernel.dk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] nvmet: fix return value check in nvmet_subsys_alloc() |
| Date | 2016-07-12 17:40 +0200 |
| Message-ID | <rU7WV-6Ps-19@gated-at.bofh.it> (permalink) |
| References | <rRTOq-Bq-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH -next] nvmet: fix return value check in nvmet_subsys_alloc() Jens Axboe <axboe@kernel.dk> - 2016-07-12 17:40 +0200
csiph-web