linux-stable/drivers/nvme/target
Wei Yongjun 69555af2ce nvmet: fix return value check in nvmet_subsys_alloc()
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.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-07-12 08:33:43 -07:00
..
admin-cmd.c
configfs.c nvmet: fix an error code 2016-07-07 08:37:36 -06:00
core.c nvmet: fix return value check in nvmet_subsys_alloc() 2016-07-12 08:33:43 -07:00
discovery.c
fabrics-cmd.c
io-cmd.c
Kconfig nvmet-rdma: add a NVMe over Fabrics RDMA target driver 2016-07-08 08:38:49 -06:00
loop.c
Makefile nvmet-rdma: add a NVMe over Fabrics RDMA target driver 2016-07-08 08:38:49 -06:00
nvmet.h
rdma.c nvmet-rdma: add a NVMe over Fabrics RDMA target driver 2016-07-08 08:38:49 -06:00