mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
b138338056
commit
a570f095ea
3 changed files with 6 additions and 6 deletions
|
@ -877,7 +877,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
|
||||||
case TIMEOUT_EVT:
|
case TIMEOUT_EVT:
|
||||||
dbg_link("TIM ");
|
dbg_link("TIM ");
|
||||||
if (l_ptr->next_in_no != l_ptr->checkpoint) {
|
if (l_ptr->next_in_no != l_ptr->checkpoint) {
|
||||||
dbg_link("-> WW \n");
|
dbg_link("-> WW\n");
|
||||||
l_ptr->state = WORKING_WORKING;
|
l_ptr->state = WORKING_WORKING;
|
||||||
l_ptr->fsm_msg_cnt = 0;
|
l_ptr->fsm_msg_cnt = 0;
|
||||||
l_ptr->checkpoint = l_ptr->next_in_no;
|
l_ptr->checkpoint = l_ptr->next_in_no;
|
||||||
|
@ -934,7 +934,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
|
||||||
link_set_timer(l_ptr, cont_intv);
|
link_set_timer(l_ptr, cont_intv);
|
||||||
break;
|
break;
|
||||||
case RESET_MSG:
|
case RESET_MSG:
|
||||||
dbg_link("RES \n");
|
dbg_link("RES\n");
|
||||||
dbg_link(" -> RR\n");
|
dbg_link(" -> RR\n");
|
||||||
l_ptr->state = RESET_RESET;
|
l_ptr->state = RESET_RESET;
|
||||||
l_ptr->fsm_msg_cnt = 0;
|
l_ptr->fsm_msg_cnt = 0;
|
||||||
|
@ -947,7 +947,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
|
||||||
l_ptr->started = 1;
|
l_ptr->started = 1;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case TIMEOUT_EVT:
|
case TIMEOUT_EVT:
|
||||||
dbg_link("TIM \n");
|
dbg_link("TIM\n");
|
||||||
tipc_link_send_proto_msg(l_ptr, RESET_MSG, 0, 0, 0, 0, 0);
|
tipc_link_send_proto_msg(l_ptr, RESET_MSG, 0, 0, 0, 0, 0);
|
||||||
l_ptr->fsm_msg_cnt++;
|
l_ptr->fsm_msg_cnt++;
|
||||||
link_set_timer(l_ptr, cont_intv);
|
link_set_timer(l_ptr, cont_intv);
|
||||||
|
@ -3295,7 +3295,7 @@ static void link_dump_rec_queue(struct link *l_ptr)
|
||||||
info("buffer %x invalid\n", crs);
|
info("buffer %x invalid\n", crs);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
msg_dbg(buf_msg(crs), "In rec queue: \n");
|
msg_dbg(buf_msg(crs), "In rec queue:\n");
|
||||||
crs = crs->next;
|
crs = crs->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -291,6 +291,6 @@ void tipc_net_stop(void)
|
||||||
tipc_bclink_stop();
|
tipc_bclink_stop();
|
||||||
net_stop();
|
net_stop();
|
||||||
write_unlock_bh(&tipc_net_lock);
|
write_unlock_bh(&tipc_net_lock);
|
||||||
info("Left network mode \n");
|
info("Left network mode\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -278,7 +278,7 @@ struct tipc_node *tipc_node_attach_link(struct link *l_ptr)
|
||||||
n_ptr->link_cnt++;
|
n_ptr->link_cnt++;
|
||||||
return n_ptr;
|
return n_ptr;
|
||||||
}
|
}
|
||||||
err("Attempt to establish second link on <%s> to %s \n",
|
err("Attempt to establish second link on <%s> to %s\n",
|
||||||
l_ptr->b_ptr->publ.name,
|
l_ptr->b_ptr->publ.name,
|
||||||
addr_string_fill(addr_string, l_ptr->addr));
|
addr_string_fill(addr_string, l_ptr->addr));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue