Skip to content
Commit 7904022d authored by Dan Carpenter's avatar Dan Carpenter Committed by Jens Axboe
Browse files

block/rnbd-clt-sysfs: fix a couple uninitialized variable bugs



These variables are printed on the error path if match_int() fails so
they have to be initialized.

Fixes: 2958a995 ("block/rnbd-clt: Support polling mode for IO latency optimization")
Fixes: 1eb54f8f ("block/rnbd: client: sysfs interface functions")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarGioh Kim <gi-oh.kim@ionos.com>
Link: https://lore.kernel.org/r/20211012084443.GA31472@kili


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 1dbdd99b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment