diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-07 10:15:26 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-07-07 16:37:36 +0200 |
commit | f98d9ca17fbddd82980bc20abfabd5b405ecade4 (patch) | |
tree | c6a147005e6f26740ea4d7584adf4cd6d4d549a6 /drivers/lightnvm/rrpc.c | |
parent | nvme-loop: add configfs dependency (diff) | |
download | linux-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