Skip to contentSkip to conversation

linux-next: build warning after merge of the netfilter-next tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Mar 20, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the netfilter-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

net/netfilter/nfnetlink_acct.c: In function 'nfnl_acct_try_del':
net/netfilter/nfnetlink_acct.c:329:15: warning: unused variable 'refcount' [-Wunused-variable]

  unsigned int refcount;
               ^

Introduced by commit

b54ab92b84b6 ("netfilter: refcounter conversions")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 6 lines

Hi all,

After merging the netfilter-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

Quoted 7 lines

net/netfilter/nfnetlink_acct.c: In function 'nfnl_acct_try_del':
net/netfilter/nfnetlink_acct.c:329:15: warning: unused variable 'refcount' [- Wunused-variable]

  unsigned int refcount;
               ^

Introduced by commit

Ups, sorry about this, slipped through. Should I submit a fix or how do you want to handle this?

Best Regards,
Elena.

Quoted 6 lines

b54ab92b84b6 ("netfilter: refcounter conversions")

--
Cheers,
Stephen Rothwell

#2 lore raw

Hi Elena,

Quoted 10 lines · Elena
Quoted 10 lines

After merging the netfilter-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

net/netfilter/nfnetlink_acct.c: In function 'nfnl_acct_try_del':
net/netfilter/nfnetlink_acct.c:329:15: warning: unused variable 'refcount' [- Wunused-variable]

  unsigned int refcount;
               ^
Quoted 3 lines
Quoted 1 line

Introduced by commit

Ups, sorry about this, slipped through. Should I submit a fix or how do you want to handle this?

That's up to Pablo, but presumably you should send him a followup patch.

Signature · 2 lines
Cheers,
Stephen Rothwell