staging: uwb: Fix missing blank space coding style issue
PATCH 1/1 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 <[email protected]>
--- drivers/staging/uwb/drp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/staging/uwb/drp.c +4 -4
@@ -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,
Signature · 1 line
2.17.1
Greg KH
maintainerQuoted 7 lines · Iulian Olaru
This patch adds a blank space before the switch argument parenthesis to silence checkpatch.pl errors.
Signed-off-by Iulian Olaru <[email protected]>--- drivers/staging/uwb/drp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
This file is no longer in the kernel tree. Always make sure to work against linux-next, and not Linus's tree, in order to not duplicate existing efforts.
thanks,
greg k-h