From: Antonio Quartulli <antonio@meshcoding.com>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Antonio Quartulli <antonio@meshcoding.com>
Subject: [B.A.T.M.A.N.] [PATCHv2] batman-adv: use the name of the array as pointer
Date: Wed, 26 Feb 2014 14:13:32 +0100 [thread overview]
Message-ID: <1393420412-3931-1-git-send-email-antonio@meshcoding.com> (raw)
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
next reply other threads:[~2014-02-26 13:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-26 13:13 Antonio Quartulli [this message]
2014-03-11 9:55 ` [B.A.T.M.A.N.] [PATCHv2] batman-adv: use the name of the array as pointer Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1393420412-3931-1-git-send-email-antonio@meshcoding.com \
--to=antonio@meshcoding.com \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox