aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/core.c
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.com>2016-05-06 20:02:54 +0200
committerJens Axboe <axboe@fb.com>2016-05-06 12:51:10 -0600
commit57aac2f1be4a0711b7f24f7d367e8672ebaa3844 (patch)
tree43c7aef6fafb634bd86eabb345dd0227aa8e989a /drivers/lightnvm/core.c
parentNVMe: Fix reset/remove race (diff)
downloadlinux-dev-57aac2f1be4a0711b7f24f7d367e8672ebaa3844.tar.xz
linux-dev-57aac2f1be4a0711b7f24f7d367e8672ebaa3844.zip
lightnvm: fix "warning: ‘ret’ may be used uninitialized"
This fixes the following warnings: drivers/lightnvm/sysblk.c:125:9: warning: ‘ret’ may be used uninitialized in this function drivers/lightnvm/sysblk.c:275:15: warning: ‘ret’ may be used uninitialized in this function In both cases, ret is only set from within a loop that may not be entered. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/lightnvm/core.c')
0 files changed, 0 insertions, 0 deletions