linux/drivers/lightnvm
Dan Carpenter 659226eb63 lightnvm: don't print a warning for ADDR_EMPTY
Reading from ADDR_EMPTY is out of bounds.  The current code generates a
static checker warning because we check for out of bounds "lba" before
we check for ADDR_EMPTY, so the second check is always false.  It looks
like we intended ADDR_EMPTY to be a no-op without printing a warning.

Fixes: a4bd217b43 ("lightnvm: physical block device (pblk) target")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-21 16:49:56 -06:00
..
core.c lightnvm: propagate pblk_init return to userspace 2017-04-21 12:40:41 -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
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: don't print a warning for ADDR_EMPTY 2017-04-21 16:49:56 -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: assume 64-bit lba numbers 2017-04-19 12:07:28 -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