drivers: hv: Fix missing error code in vmbus_connect()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 25 May 2021 10:58:41 +0000 (18:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 14:55:59 +0000 (16:55 +0200)
commiteda609d8646fa780cf6d3d0bc7d242c1e5a04198
treee9fcb12f37b717039e0ee3016995cfb89de5f475
parent019d04f91466a786c883bf5016b87233bd9ec4c7
drivers: hv: Fix missing error code in vmbus_connect()

[ Upstream commit 9de6655cc5a6a1febc514465c87c24a0e96d8dba ]

Eliminate the follow smatch warning:

drivers/hv/connection.c:236 vmbus_connect() warn: missing error code
'ret'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1621940321-72353-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hv/connection.c