projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8cb548
)
batman-adv: return added entries instead of number of possibly added entries
author
Marek Lindner
<lindner_marek@yahoo.de>
Mon, 23 Apr 2012 08:32:55 +0000
(16:32 +0800)
committer
Antonio Quartulli
<ordex@autistici.org>
Mon, 18 Jun 2012 16:01:00 +0000
(18:01 +0200)
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/translation-table.c
patch
|
blob
|
history
diff --git
a/net/batman-adv/translation-table.c
b/net/batman-adv/translation-table.c
index ca53542e1e8e6135b05445036e6269cf4eef62d6..f9675b7f5f997fc69c21bcd718d5ab596806735e 100644
(file)
--- a/
net/batman-adv/translation-table.c
+++ b/
net/batman-adv/translation-table.c
@@
-319,7
+319,7
@@
int tt_changes_fill_buffer(struct bat_priv *bat_priv,
}
spin_unlock_bh(&bat_priv->tt_buff_lock);
- return
tot_changes
;
+ return
count
;
}
int tt_local_seq_print_text(struct seq_file *seq, void *offset)