netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the net-next tree
@ 2022-08-25  5:41 Stephen Rothwell
  2022-08-25  7:55 ` [Internet]linux-next: " imagedong(董梦龙)
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2022-08-25  5:41 UTC (permalink / raw)
  To: David Miller, Networking
  Cc: Menglong Dong, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 526 bytes --]

Hi all,

After merging the net-next tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/networking/kapi:26: net/core/skbuff.c:780: WARNING: Error in declarator or parameters
Invalid C declaration: Expecting "(" in parameters. [error at 19]
  void __fix_address kfree_skb_reason (struct sk_buff *skb, enum skb_drop_reason reason)
  -------------------^

Introduced by commit

  c205cc7534a9 ("net: skb: prevent the split of kfree_skb_reason() by gcc")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: [Internet]linux-next: build warning after merge of the net-next tree
  2022-08-25  5:41 linux-next: build warning after merge of the net-next tree Stephen Rothwell
@ 2022-08-25  7:55 ` imagedong(董梦龙)
  2022-08-25 17:42   ` Jakub Kicinski
  0 siblings, 1 reply; 3+ messages in thread
From: imagedong(董梦龙) @ 2022-08-25  7:55 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, David Miller,
	Networking


Hello,

On 2022/8/25 13:41,“Stephen Rothwell”<sfr@canb.auug.org.au> write:

> Hi all,
> 
> After merging the net-next tree, today's linux-next build (htmldocs)
> produced this warning:
> 
> Documentation/networking/kapi:26: net/core/skbuff.c:780: WARNING: Error in declarator or parameters
> Invalid C declaration: Expecting "(" in parameters. [error at 19]
>   void __fix_address kfree_skb_reason (struct sk_buff *skb, enum skb_drop_reason reason)
>   -------------------^
> 
> Introduced by commit
> 
>   c205cc7534a9 ("net: skb: prevent the split of kfree_skb_reason() by gcc")
> 

Yeah, I commited this patch. May I ask what command did you use to
produce this warning? I tried the following command, but not success:

  make V=2 SPHINXDIRS="networking" htmldocs

Hmm.......what does this warning means? Does it don't like this
function attribute?

Thanks!
Menglong Dong

> -- 
> Cheers,
> Stephen Rothwell


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

* Re: [Internet]linux-next: build warning after merge of the net-next tree
  2022-08-25  7:55 ` [Internet]linux-next: " imagedong(董梦龙)
@ 2022-08-25 17:42   ` Jakub Kicinski
  0 siblings, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2022-08-25 17:42 UTC (permalink / raw)
  To: imagedong(董梦龙), linux-doc
  Cc: Stephen Rothwell, Linux Kernel Mailing List,
	Linux Next Mailing List, David Miller, Networking,
	Jonathan Corbet

On Thu, 25 Aug 2022 07:55:36 +0000 imagedong(董梦龙) wrote:
> > After merging the net-next tree, today's linux-next build (htmldocs)
> > produced this warning:
> > 
> > Documentation/networking/kapi:26: net/core/skbuff.c:780: WARNING: Error in declarator or parameters
> > Invalid C declaration: Expecting "(" in parameters. [error at 19]
> >   void __fix_address kfree_skb_reason (struct sk_buff *skb, enum skb_drop_reason reason)
> >   -------------------^
> > 
> > Introduced by commit
> > 
> >   c205cc7534a9 ("net: skb: prevent the split of kfree_skb_reason() by gcc")
> >   
> 
> Yeah, I commited this patch. May I ask what command did you use to
> produce this warning? I tried the following command, but not success:
> 
>   make V=2 SPHINXDIRS="networking" htmldocs
> 
> Hmm.......what does this warning means? Does it don't like this
> function attribute?

It popped up for me on a clean build of

	make htmldocs

There's a lot of other warnings but you should see this one, too.

I think you need to add the new keyword to one of the tables in
Documentation/conf.py

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

end of thread, other threads:[~2022-08-25 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25  5:41 linux-next: build warning after merge of the net-next tree Stephen Rothwell
2022-08-25  7:55 ` [Internet]linux-next: " imagedong(董梦龙)
2022-08-25 17:42   ` Jakub Kicinski

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).