linux-sg2042/drivers/lightnvm
Dan Carpenter 1c6286f263 lightnvm: fix some error code in pblk-init.c
There were a bunch of places in pblk_lines_init() where we didn't set an
error code.  And in pblk_writer_init() we accidentally return 1 instead
of a correct error code, which would result in a Oops later.

Fixes: 11a5d6fdf919 ("lightnvm: physical block device (pblk) target")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-16 10:06:34 -06:00
..
Kconfig lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
Makefile lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
core.c lightnvm: convert sprintf into strlcpy 2017-04-16 10:06:25 -06:00
pblk-cache.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-core.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-gc.c lightnvm: pblk-gc: fix an error pointer dereference in init 2017-04-16 10:06:34 -06:00
pblk-init.c lightnvm: fix some error code in pblk-init.c 2017-04-16 10:06:34 -06:00
pblk-map.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-rb.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-read.c lightnvm: fix some WARN() messages 2017-04-16 10:06:34 -06:00
pblk-recovery.c lightnvm: fix some WARN() messages 2017-04-16 10:06:34 -06:00
pblk-rl.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-sysfs.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-write.c lightnvm: fix some WARN() messages 2017-04-16 10:06:34 -06:00
pblk.h lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
rrpc.c lightnvm: fix type checks on rrpc 2017-04-16 10:06:25 -06:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00