diff options
author | Dan Carpenter <[email protected]> | 2017-04-21 16:49:56 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2017-04-21 16:49:56 -0600 |
commit | 659226eb630ff522b30d8b8a82c9e722756e6bd4 (patch) | |
tree | 1490ddd2a5432289ce03f3623018a76aad30bc60 /scripts/gdb/linux/proc.py | |
parent | 5bf1e1ee6269f4db307bdfce45d196d6c9bc818a (diff) |
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: a4bd217b4326 ("lightnvm: physical block device (pblk) target")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Javier González <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions