Thread (7 messages) 7 messages, 4 authors, 2012-09-23

Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix change mac address of soft iface.

From: Antonio Quartulli <hidden>
Date: 2012-09-20 11:42:50

Hello Def,


On Tue, Sep 18, 2012 at 04:55:32PM +0200, Sven Eckelmann wrote:
On Tuesday 18 September 2012 16:41:58 Def wrote:
quoted
 Into function interface_set_mac_addr, the function tt_local_add
 was invoked before updating dev->dev_addr. The new MAC
 addresse was not tagged as NoPurge.
Please don't add extra whitespaces before your commit message.

Your Signed-off-by: is missing.

[...]
quoted
-
-	memcpy(dev->dev_addr, addr->sa_data, ETH_ALEN);
+	
Please don't add trailing whitespaces.

I have no idea whether this works... *looks at Antonio*. But thanks for
bringing this up in the issue tracker and sending this first version of the
patch.
sorry for the delay. Overall the patch is correct, I also tested it and it
correctly fixes the problem.

Please, address what Sven just said so that the patch is clean (you can also use
checkpatch.pl --strict to check for this style things..it is in your
linux/scripts/ directory as documented in the file cited by Sven)

Cheers,


-- 
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help