public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: uwb: Fix missing blank space coding style issue
@ 2020-03-29 22:57 Iulian Olaru
  2020-04-03  7:42 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Iulian Olaru @ 2020-03-29 22:57 UTC (permalink / raw)
  To: daniel.baluta, gregkh, allison, info, alexios.zavras, tglx
  Cc: devel, linux-kernel, Iulian Olaru

This patch adds a blank space before the switch argument parenthesis to
silence checkpatch.pl errors.

Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-03  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-29 22:57 [PATCH] staging: uwb: Fix missing blank space coding style issue Iulian Olaru
2020-04-03  7:42 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox