nvme-rdma: initialize ret to zero to avoid returning garbage
authorColin Ian King <colin.king@canonical.com>
Tue, 16 Aug 2016 08:24:39 +0000 (09:24 +0100)
committerSagi Grimberg <sagi@grimberg.me>
Tue, 16 Aug 2016 08:42:29 +0000 (11:42 +0300)
commit39bbee4e549fbc358b2ef9137c4bf459abd164fb
tree1a2ec36c78db539f518dbd35629374e40992b5f5
parente3266378bdbca82c2854fc612fa9a391eba1f173
nvme-rdma: initialize ret to zero to avoid returning garbage

ret is not initialized so it contains garbage.  Ensure garbage
is not returned by initializing rc to 0.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/rdma.c