batman-adv: Ignore 80-chars per line limits for strings
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
This commit is contained in:
committed by
Marek Lindner
parent
7c64fd98ce
commit
86ceb36056
@@ -294,14 +294,12 @@ static bool purge_orig_neighbors(struct bat_priv *bat_priv,
|
||||
(neigh_node->if_incoming->if_status ==
|
||||
IF_TO_BE_REMOVED))
|
||||
bat_dbg(DBG_BATMAN, bat_priv,
|
||||
"neighbor purge: originator %pM, "
|
||||
"neighbor: %pM, iface: %s\n",
|
||||
"neighbor purge: originator %pM, neighbor: %pM, iface: %s\n",
|
||||
orig_node->orig, neigh_node->addr,
|
||||
neigh_node->if_incoming->net_dev->name);
|
||||
else
|
||||
bat_dbg(DBG_BATMAN, bat_priv,
|
||||
"neighbor timeout: originator %pM, "
|
||||
"neighbor: %pM, last_valid: %lu\n",
|
||||
"neighbor timeout: originator %pM, neighbor: %pM, last_valid: %lu\n",
|
||||
orig_node->orig, neigh_node->addr,
|
||||
(neigh_node->last_valid / HZ));
|
||||
|
||||
@@ -416,15 +414,15 @@ int orig_seq_print_text(struct seq_file *seq, void *offset)
|
||||
primary_if = primary_if_get_selected(bat_priv);
|
||||
|
||||
if (!primary_if) {
|
||||
ret = seq_printf(seq, "BATMAN mesh %s disabled - "
|
||||
"please specify interfaces to enable it\n",
|
||||
ret = seq_printf(seq,
|
||||
"BATMAN mesh %s disabled - please specify interfaces to enable it\n",
|
||||
net_dev->name);
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (primary_if->if_status != IF_ACTIVE) {
|
||||
ret = seq_printf(seq, "BATMAN mesh %s "
|
||||
"disabled - primary interface not active\n",
|
||||
ret = seq_printf(seq,
|
||||
"BATMAN mesh %s disabled - primary interface not active\n",
|
||||
net_dev->name);
|
||||
goto out;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user