aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2018-02-12 17:14:55 +0000
committerJens Axboe <[email protected]>2018-02-27 22:51:37 +0000
commit0979962f5490abe75b3e2befb07a564fa0cf631b (patch)
tree57ae9ad76e537253eb4a530d0721ccfe40cbdd1c /lib/string_helpers.c
parentbcache: fix kcrashes with fio in RAID5 backend dev (diff)
downloadkernel-0979962f5490abe75b3e2befb07a564fa0cf631b.tar.gz
kernel-0979962f5490abe75b3e2befb07a564fa0cf631b.zip
nbd: fix return value in error handling path
It seems that the proper value to return in this particular case is the one contained into variable new_index instead of ret. Addresses-Coverity-ID: 1465148 ("Copy-paste error") Fixes: e46c7287b1c2 ("nbd: add a basic netlink interface") Reviewed-by: Omar Sandoval <[email protected]> Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions