block/rnbd-clt-sysfs: fix a couple uninitialized variable bugs
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 12 Oct 2021 08:44:43 +0000 (11:44 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Oct 2021 16:39:57 +0000 (10:39 -0600)
commit7904022decc260a19dd65b56ac896387f5da6f8c
tree0e31492631406190e77e14a2530fd5f5291b60b9
parent1dbdd99b511c966be9147ad72991a2856ac76f22
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: 2958a995edc9 ("block/rnbd-clt: Support polling mode for IO latency optimization")
Fixes: 1eb54f8f5dd8 ("block/rnbd: client: sysfs interface functions")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Gioh Kim <gi-oh.kim@ionos.com>
Link: https://lore.kernel.org/r/20211012084443.GA31472@kili
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rnbd/rnbd-clt-sysfs.c