summaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/rrpc.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-07-07 10:15:26 +0200
committerJens Axboe <axboe@fb.com>2016-07-07 16:37:36 +0200
commitf98d9ca17fbddd82980bc20abfabd5b405ecade4 (patch)
treec6a147005e6f26740ea4d7584adf4cd6d4d549a6 /drivers/lightnvm/rrpc.c
parentnvme-loop: add configfs dependency (diff)
downloadlinux-f98d9ca17fbddd82980bc20abfabd5b405ecade4.tar.xz
linux-f98d9ca17fbddd82980bc20abfabd5b405ecade4.zip
nvmet: fix an error code
We accidentally return zero here when ERR_PTR(-ENOMEM) is intended. Fixes: a07b4970f464 ('nvmet: add a generic NVMe target') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/rrpc.c')
0 files changed, 0 insertions, 0 deletions