2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/lightnvm
Dan Carpenter 5bf1e1ee62 lightnvm: potential underflow in pblk_read_rq()
This is a static checker fix, and perhaps not a real bug.  The static
checker thinks that nr_secs could be negative.  It would result in
zeroing more memory than intended.  Anyway, even if it's not a bug,
changing this variable to unsigned makes the code easier to audit.

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:48:40 -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: potential underflow in pblk_read_rq() 2017-04-21 16:48:40 -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