[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200329225727.9222-1-iulianolaru249@yahoo.com>
Date: Mon, 30 Mar 2020 01:57:27 +0300
From: Iulian Olaru <iulianolaru249@...il.com>
To: daniel.baluta@...il.com, gregkh@...uxfoundation.org,
allison@...utok.net, info@...ux.net, alexios.zavras@...el.com,
tglx@...utronix.de
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
Iulian Olaru <iulianolaru249@...oo.com>
Subject: [PATCH] staging: uwb: Fix missing blank space coding style issue
This patch adds a blank space before the switch argument parenthesis to
silence checkpatch.pl errors.
Signed-off-by: Iulian Olaru <iulianolaru249@...oo.com>
---
drivers/staging/uwb/drp.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/uwb/drp.c b/drivers/staging/uwb/drp.c
index 869987bede7b..4449220f618a 100644
--- a/drivers/staging/uwb/drp.c
+++ b/drivers/staging/uwb/drp.c
@@ -249,7 +249,7 @@ static void handle_conflict_normal(struct uwb_ie_drp *drp_ie,
action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, uwb_rsv_status(rsv));
if (uwb_rsv_is_owner(rsv)) {
- switch(action) {
+ switch (action) {
case UWB_DRP_CONFLICT_ACT2:
/* try move */
uwb_rsv_set_state(rsv, UWB_RSV_STATE_O_TO_BE_MOVED);
@@ -267,7 +267,7 @@ static void handle_conflict_normal(struct uwb_ie_drp *drp_ie,
break;
}
} else {
- switch(action) {
+ switch (action) {
case UWB_DRP_CONFLICT_ACT2:
case UWB_DRP_CONFLICT_ACT3:
uwb_rsv_set_state(rsv, UWB_RSV_STATE_T_CONFLICT);
@@ -292,7 +292,7 @@ static void handle_conflict_expanding(struct uwb_ie_drp *drp_ie, int ext_beacon_
/* status of companion is 0 at this point */
action = evaluate_conflict_action(drp_ie, ext_beacon_slot, rsv, 0);
if (uwb_rsv_is_owner(rsv)) {
- switch(action) {
+ switch (action) {
case UWB_DRP_CONFLICT_ACT2:
case UWB_DRP_CONFLICT_ACT3:
uwb_rsv_set_state(rsv,
@@ -304,7 +304,7 @@ static void handle_conflict_expanding(struct uwb_ie_drp *drp_ie, int ext_beacon_
&rsv->mv.companion_mas);
}
} else { /* rsv is target */
- switch(action) {
+ switch (action) {
case UWB_DRP_CONFLICT_ACT2:
case UWB_DRP_CONFLICT_ACT3:
uwb_rsv_set_state(rsv,
--
2.17.1
Powered by blists - more mailing lists