public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCHv2] batman-adv: use the name of the array as pointer
@ 2014-02-26 13:13 Antonio Quartulli
  2014-03-11  9:55 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2014-02-26 13:13 UTC (permalink / raw)
  To: b.a.t.m.a.n; +Cc: Antonio Quartulli

Introduced by fb4756fe5f6e58ca2ab208ca634ae4c8dd6e9499
("batman-adv: use ether_addr_copy instead of memcpy in multicast code")

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
---

change from v1:
- added Signed-off-by clause

 multicast.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multicast.c b/multicast.c
index e69143b..998b429 100644
--- a/multicast.c
+++ b/multicast.c
@@ -45,7 +45,7 @@ static int batadv_mcast_mla_softif_get(struct net_device *dev,
 			break;
 		}
 
-		ether_addr_copy(&new->addr, &mc_list_entry->addr);
+		ether_addr_copy(new->addr, mc_list_entry->addr);
 		hlist_add_head(&new->list, mcast_list);
 		ret++;
 	}
-- 
1.8.4.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-11  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-26 13:13 [B.A.T.M.A.N.] [PATCHv2] batman-adv: use the name of the array as pointer Antonio Quartulli
2014-03-11  9:55 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox