[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190305234542.5243-1-x51v4n@gmail.com>
Date: Tue, 5 Mar 2019 17:45:42 -0600
From: Jesús Castro <x51v4n@...il.com>
To: kys@...rosoft.com, haiyangz@...rosoft.com, sthemmin@...rosoft.com,
sashal@...nel.org
Cc: miguel.bernal@...opan.tecmm.edu.mx, devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org,
Jesús Castro <x51v4n@...il.com>
Subject: [PATCH] hv: utils: fix coding style
Checkpatch script is showing a coding style error and is showing:
ERROR: else should follow close brace '}'
+ }
+ else if (hvt->mode == HVUTIL_TRANSPORT_NETLINK) {
This commit fixes the coding style, not a functional change.
Signed-off-by: Jesús Castro <x51v4n@...il.com>
---
drivers/hv/hv_utils_transport.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/hv/hv_utils_transport.c b/drivers/hv/hv_utils_transport.c
index 832777527936..eff5419b7b35 100644
--- a/drivers/hv/hv_utils_transport.c
+++ b/drivers/hv/hv_utils_transport.c
@@ -139,8 +139,7 @@ static int hvt_op_open(struct inode *inode, struct file *file)
* device gets released.
*/
hvt->mode = HVUTIL_TRANSPORT_CHARDEV;
- }
- else if (hvt->mode == HVUTIL_TRANSPORT_NETLINK) {
+ } else if (hvt->mode == HVUTIL_TRANSPORT_NETLINK) {
/*
* We're switching from netlink communication to using char
* device. Issue the reset first.
--
2.21.0
Powered by blists - more mailing lists