Skip to content

Commit a570f09

Browse files
Frans Popdavem330
authored andcommitted
tipc: remove trailing space in messages
Signed-off-by: Frans Pop <elendil@planet.nl> Cc: Per Liden <per.liden@ericsson.com> Cc: Jon Maloy <jon.maloy@ericsson.com> Cc: Allan Stephens <allan.stephens@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b138338 commit a570f09

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎net/tipc/link.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
877877
case TIMEOUT_EVT:
878878
dbg_link("TIM ");
879879
if (l_ptr->next_in_no != l_ptr->checkpoint) {
880-
dbg_link("-> WW \n");
880+
dbg_link("-> WW\n");
881881
l_ptr->state = WORKING_WORKING;
882882
l_ptr->fsm_msg_cnt = 0;
883883
l_ptr->checkpoint = l_ptr->next_in_no;
@@ -934,7 +934,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
934934
link_set_timer(l_ptr, cont_intv);
935935
break;
936936
case RESET_MSG:
937-
dbg_link("RES \n");
937+
dbg_link("RES\n");
938938
dbg_link(" -> RR\n");
939939
l_ptr->state = RESET_RESET;
940940
l_ptr->fsm_msg_cnt = 0;
@@ -947,7 +947,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
947947
l_ptr->started = 1;
948948
/* fall through */
949949
case TIMEOUT_EVT:
950-
dbg_link("TIM \n");
950+
dbg_link("TIM\n");
951951
tipc_link_send_proto_msg(l_ptr, RESET_MSG, 0, 0, 0, 0, 0);
952952
l_ptr->fsm_msg_cnt++;
953953
link_set_timer(l_ptr, cont_intv);
@@ -3295,7 +3295,7 @@ static void link_dump_rec_queue(struct link *l_ptr)
32953295
info("buffer %x invalid\n", crs);
32963296
return;
32973297
}
3298-
msg_dbg(buf_msg(crs), "In rec queue: \n");
3298+
msg_dbg(buf_msg(crs), "In rec queue:\n");
32993299
crs = crs->next;
33003300
}
33013301
}

‎net/tipc/net.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,6 @@ void tipc_net_stop(void)
291291
tipc_bclink_stop();
292292
net_stop();
293293
write_unlock_bh(&tipc_net_lock);
294-
info("Left network mode \n");
294+
info("Left network mode\n");
295295
}
296296

‎net/tipc/node.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ struct tipc_node *tipc_node_attach_link(struct link *l_ptr)
278278
n_ptr->link_cnt++;
279279
return n_ptr;
280280
}
281-
err("Attempt to establish second link on <%s> to %s \n",
281+
err("Attempt to establish second link on <%s> to %s\n",
282282
l_ptr->b_ptr->publ.name,
283283
addr_string_fill(addr_string, l_ptr->addr));
284284
}

0 commit comments

Comments
 (0)