* [PATCH] batman-adv: Remove unused variable @ 2013-02-06 16:37 Emil Goode 2013-02-06 17:22 ` Antonio Quartulli 0 siblings, 1 reply; 7+ messages in thread From: Emil Goode @ 2013-02-06 16:37 UTC (permalink / raw) To: lindner_marek, siwu, ordex, davem Cc: b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors, Emil Goode The commit ed242d01 removed a node parameter from iterators. This patch removes a hlist_node struct that is no longer used. Sparse gives a warning: net/batman-adv/originator.c:411:21: warning: unused variable ‘node_tmp’ [-Wunused-variable] Signed-off-by: Emil Goode <emilgoode@gmail.com> --- net/batman-adv/originator.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/batman-adv/originator.c b/net/batman-adv/originator.c index 43d0f89..96fb80b 100644 --- a/net/batman-adv/originator.c +++ b/net/batman-adv/originator.c @@ -408,7 +408,6 @@ int batadv_orig_seq_print_text(struct seq_file *seq, void *offset) struct net_device *net_dev = (struct net_device *)seq->private; struct batadv_priv *bat_priv = netdev_priv(net_dev); struct batadv_hashtable *hash = bat_priv->orig_hash; - struct hlist_node *node_tmp; struct hlist_head *head; struct batadv_hard_iface *primary_if; struct batadv_orig_node *orig_node; -- 1.7.10.4 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] batman-adv: Remove unused variable 2013-02-06 16:37 [PATCH] batman-adv: Remove unused variable Emil Goode @ 2013-02-06 17:22 ` Antonio Quartulli 2013-02-06 17:55 ` Emil Goode 0 siblings, 1 reply; 7+ messages in thread From: Antonio Quartulli @ 2013-02-06 17:22 UTC (permalink / raw) To: Emil Goode Cc: lindner_marek, siwu, davem, b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors [-- Attachment #1: Type: text/plain, Size: 747 bytes --] Hi Emil, On Wed, Feb 06, 2013 at 05:37:41 +0100, Emil Goode wrote: > The commit ed242d01 removed a node parameter from iterators. > This patch removes a hlist_node struct that is no longer used. > > Sparse gives a warning: > > net/batman-adv/originator.c:411:21: warning: > unused variable ‘node_tmp’ [-Wunused-variable] > > Signed-off-by: Emil Goode <emilgoode@gmail.com> On which tree did you base your patch? I cannot find the commit you are referring to (ed242d01) and the patch does not apply (neither on net nor net-next). Other than that the variable is used a couple of lines below (in the code we have)... Regards, -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] batman-adv: Remove unused variable 2013-02-06 17:22 ` Antonio Quartulli @ 2013-02-06 17:55 ` Emil Goode 2013-02-06 19:55 ` Antonio Quartulli 0 siblings, 1 reply; 7+ messages in thread From: Emil Goode @ 2013-02-06 17:55 UTC (permalink / raw) To: Antonio Quartulli Cc: lindner_marek, siwu, davem, b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors Hi Antonio, The commit ed242d01 is in the linux-next tree and my patch depends on that commit. Best regards, Emil On Wed, 2013-02-06 at 18:22 +0100, Antonio Quartulli wrote: > Hi Emil, > > On Wed, Feb 06, 2013 at 05:37:41 +0100, Emil Goode wrote: > > The commit ed242d01 removed a node parameter from iterators. > > This patch removes a hlist_node struct that is no longer used. > > > > Sparse gives a warning: > > > > net/batman-adv/originator.c:411:21: warning: > > unused variable ‘node_tmp’ [-Wunused-variable] > > > > Signed-off-by: Emil Goode <emilgoode@gmail.com> > > On which tree did you base your patch? > I cannot find the commit you are referring to (ed242d01) and the patch does not > apply (neither on net nor net-next). > > Other than that the variable is used a couple of lines below (in the code we > have)... > > Regards, > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] batman-adv: Remove unused variable 2013-02-06 17:55 ` Emil Goode @ 2013-02-06 19:55 ` Antonio Quartulli 2013-02-06 21:59 ` Emil Goode 0 siblings, 1 reply; 7+ messages in thread From: Antonio Quartulli @ 2013-02-06 19:55 UTC (permalink / raw) To: Emil Goode Cc: lindner_marek, siwu, davem, b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors [-- Attachment #1: Type: text/plain, Size: 1559 bytes --] Hi Emil, On Wed, Feb 06, 2013 at 06:55:53 +0100, Emil Goode wrote: > Hi Antonio, > > The commit ed242d01 is in the linux-next tree and my patch depends on > that commit. > Yes, you are right. I was not aware of this commit, because the author did not CC us (neither netdev) even if he changed the code we maintain. As far as I can see that commit is in linux-next only. Therefore it must be applied there. However, I'd like you to change the commit message and write the full hash of the commit you are referring to and its subject ("LIKE THIS"). This would make it easier to find it. Regards, > Best regards, Emil > > On Wed, 2013-02-06 at 18:22 +0100, Antonio Quartulli wrote: > > Hi Emil, > > > > On Wed, Feb 06, 2013 at 05:37:41 +0100, Emil Goode wrote: > > > The commit ed242d01 removed a node parameter from iterators. > > > This patch removes a hlist_node struct that is no longer used. > > > > > > Sparse gives a warning: > > > > > > net/batman-adv/originator.c:411:21: warning: > > > unused variable ‘node_tmp’ [-Wunused-variable] > > > > > > Signed-off-by: Emil Goode <emilgoode@gmail.com> > > > > On which tree did you base your patch? > > I cannot find the commit you are referring to (ed242d01) and the patch does not > > apply (neither on net nor net-next). > > > > Other than that the variable is used a couple of lines below (in the code we > > have)... > > > > Regards, > > > > -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] batman-adv: Remove unused variable 2013-02-06 19:55 ` Antonio Quartulli @ 2013-02-06 21:59 ` Emil Goode 2013-02-06 22:10 ` Antonio Quartulli 0 siblings, 1 reply; 7+ messages in thread From: Emil Goode @ 2013-02-06 21:59 UTC (permalink / raw) To: Antonio Quartulli Cc: lindner_marek, siwu, davem, b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors Hi Antonio, If it is easier I can keep an eye on when the commit lands in the net-next tree and then resend a modified version of the patch. Or do you want me to resend it now? Best regards, Emil On Wed, 2013-02-06 at 20:55 +0100, Antonio Quartulli wrote: > Hi Emil, > > On Wed, Feb 06, 2013 at 06:55:53 +0100, Emil Goode wrote: > > Hi Antonio, > > > > The commit ed242d01 is in the linux-next tree and my patch depends on > > that commit. > > > > Yes, you are right. I was not aware of this commit, because the author > did not CC us (neither netdev) even if he changed the code we maintain. > > As far as I can see that commit is in linux-next only. > Therefore it must be applied there. > > However, I'd like you to change the commit message and write the full hash of > the commit you are referring to and its subject ("LIKE THIS"). This would make > it easier to find it. > > > Regards, > > > Best regards, Emil > > > > On Wed, 2013-02-06 at 18:22 +0100, Antonio Quartulli wrote: > > > Hi Emil, > > > > > > On Wed, Feb 06, 2013 at 05:37:41 +0100, Emil Goode wrote: > > > > The commit ed242d01 removed a node parameter from iterators. > > > > This patch removes a hlist_node struct that is no longer used. > > > > > > > > Sparse gives a warning: > > > > > > > > net/batman-adv/originator.c:411:21: warning: > > > > unused variable ‘node_tmp’ [-Wunused-variable] > > > > > > > > Signed-off-by: Emil Goode <emilgoode@gmail.com> > > > > > > On which tree did you base your patch? > > > I cannot find the commit you are referring to (ed242d01) and the patch does not > > > apply (neither on net nor net-next). > > > > > > Other than that the variable is used a couple of lines below (in the code we > > > have)... > > > > > > Regards, > > > > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] batman-adv: Remove unused variable 2013-02-06 21:59 ` Emil Goode @ 2013-02-06 22:10 ` Antonio Quartulli 2013-02-06 22:23 ` Dan Carpenter 0 siblings, 1 reply; 7+ messages in thread From: Antonio Quartulli @ 2013-02-06 22:10 UTC (permalink / raw) To: Emil Goode Cc: lindner_marek, siwu, davem, b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors [-- Attachment #1: Type: text/plain, Size: 2441 bytes --] Hi Emil, On Wed, Feb 06, 2013 at 10:59:05 +0100, Emil Goode wrote: > Hi Antonio, > > If it is easier I can keep an eye on when the commit lands in the > net-next tree and then resend a modified version of the patch. > Or do you want me to resend it now? > Well, that commit should be merged in net-next after the next merge window. You can resend it now, but be sure to CC Stephen Rothwell <sfr@canb.auug.org.au> (the linux-next maintainer) and to clearly state that the patch is for linux-next. Thanks. Cheers, p.s. try to do not top-post please :-) > Best regards, Emil > > On Wed, 2013-02-06 at 20:55 +0100, Antonio Quartulli wrote: > > Hi Emil, > > > > On Wed, Feb 06, 2013 at 06:55:53 +0100, Emil Goode wrote: > > > Hi Antonio, > > > > > > The commit ed242d01 is in the linux-next tree and my patch depends on > > > that commit. > > > > > > > Yes, you are right. I was not aware of this commit, because the author > > did not CC us (neither netdev) even if he changed the code we maintain. > > > > As far as I can see that commit is in linux-next only. > > Therefore it must be applied there. > > > > However, I'd like you to change the commit message and write the full hash of > > the commit you are referring to and its subject ("LIKE THIS"). This would make > > it easier to find it. > > > > > > Regards, > > > > > Best regards, Emil > > > > > > On Wed, 2013-02-06 at 18:22 +0100, Antonio Quartulli wrote: > > > > Hi Emil, > > > > > > > > On Wed, Feb 06, 2013 at 05:37:41 +0100, Emil Goode wrote: > > > > > The commit ed242d01 removed a node parameter from iterators. > > > > > This patch removes a hlist_node struct that is no longer used. > > > > > > > > > > Sparse gives a warning: > > > > > > > > > > net/batman-adv/originator.c:411:21: warning: > > > > > unused variable ‘node_tmp’ [-Wunused-variable] > > > > > > > > > > Signed-off-by: Emil Goode <emilgoode@gmail.com> > > > > > > > > On which tree did you base your patch? > > > > I cannot find the commit you are referring to (ed242d01) and the patch does not > > > > apply (neither on net nor net-next). > > > > > > > > Other than that the variable is used a couple of lines below (in the code we > > > > have)... > > > > > > > > Regards, > > > > > > > > > > > > > > -- Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara [-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] batman-adv: Remove unused variable 2013-02-06 22:10 ` Antonio Quartulli @ 2013-02-06 22:23 ` Dan Carpenter 0 siblings, 0 replies; 7+ messages in thread From: Dan Carpenter @ 2013-02-06 22:23 UTC (permalink / raw) To: Antonio Quartulli Cc: Emil Goode, lindner_marek, siwu, davem, b.a.t.m.a.n, netdev, linux-kernel, kernel-janitors On Wed, Feb 06, 2013 at 11:10:22PM +0100, Antonio Quartulli wrote: > Hi Emil, > > On Wed, Feb 06, 2013 at 10:59:05 +0100, Emil Goode wrote: > > Hi Antonio, > > > > If it is easier I can keep an eye on when the commit lands in the > > net-next tree and then resend a modified version of the patch. > > Or do you want me to resend it now? > > > > Well, that commit should be merged in net-next after the next merge window. > > You can resend it now, but be sure to CC Stephen Rothwell > <sfr@canb.auug.org.au> (the linux-next maintainer) and to clearly state that the > patch is for linux-next. > It doesn't go through Stephen Rothwell. It goes through Andrew Morton and it should be CC'd to Sasha Levin. regards, dan carpenter ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-02-06 22:24 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-02-06 16:37 [PATCH] batman-adv: Remove unused variable Emil Goode 2013-02-06 17:22 ` Antonio Quartulli 2013-02-06 17:55 ` Emil Goode 2013-02-06 19:55 ` Antonio Quartulli 2013-02-06 21:59 ` Emil Goode 2013-02-06 22:10 ` Antonio Quartulli 2013-02-06 22:23 ` Dan Carpenter
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).