All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: [gustavoars:testing/wfamnae-next20250723 14/14] include/net/ip.h:53:1: sparse: sparse: directive in macro's argument list
Date: Thu, 24 Jul 2025 17:11:27 +0800	[thread overview]
Message-ID: <202507241726.sSdc7F3m-lkp@intel.com> (raw)

:::::: 
:::::: Manual check reason: "low confidence static check warning: include/net/ip.h:53:1: sparse: sparse: directive in macro's argument list"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
CC: LKML <linux-kernel@vger.kernel.org>
TO: "Gustavo A. R. Silva" <gustavoars@kernel.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20250723
head:   49c6b94fa76fb9af574157e2c2b25f7894a744f4
commit: 49c6b94fa76fb9af574157e2c2b25f7894a744f4 [14/14] treewide-TRAILING_OVERLAP: Avoid -Wflex-array-member-not-at-end warnings
:::::: branch date: 30 hours ago
:::::: commit date: 30 hours ago
config: m68k-randconfig-r122-20250724 (https://download.01.org/0day-ci/archive/20250724/202507241726.sSdc7F3m-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.3.0
reproduce: (https://download.01.org/0day-ci/archive/20250724/202507241726.sSdc7F3m-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/202507241726.sSdc7F3m-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   drivers/net/ethernet/freescale/fec_main.c: note: in included file:
>> include/net/ip.h:53:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:54:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:55:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:56:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:57:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:58:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:59:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:60:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:61:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:62:1: sparse: sparse: directive in macro's argument list
   include/net/ip.h:63:1: sparse: sparse: directive in macro's argument list

vim +53 include/net/ip.h

^1da177e4c3f41 Linus Torvalds       2005-04-16  46  
fd2c3ef761fbc5 Eric Dumazet         2009-11-03  47  struct inet_skb_parm {
0b922b7a829c06 David Ahern          2016-05-10  48  	int			iif;
49c6b94fa76fb9 Gustavo A. R. Silva  2025-07-01  49  	TRAILING_OVERLAP(struct ip_options, opt, __data,
49c6b94fa76fb9 Gustavo A. R. Silva  2025-07-01  50  			 		/* Compiled IP options		*/
a04a480d4392ea David Ahern          2016-10-16  51  			 u16			flags;
^1da177e4c3f41 Linus Torvalds       2005-04-16  52  
df4d92549f23e1 Hannes Frederic Sowa 2015-01-23 @53  #define IPSKB_FORWARDED		BIT(0)
df4d92549f23e1 Hannes Frederic Sowa 2015-01-23  54  #define IPSKB_XFRM_TUNNEL_SIZE	BIT(1)
df4d92549f23e1 Hannes Frederic Sowa 2015-01-23  55  #define IPSKB_XFRM_TRANSFORMED	BIT(2)
df4d92549f23e1 Hannes Frederic Sowa 2015-01-23  56  #define IPSKB_FRAG_COMPLETE	BIT(3)
df4d92549f23e1 Hannes Frederic Sowa 2015-01-23  57  #define IPSKB_REROUTED		BIT(4)
df4d92549f23e1 Hannes Frederic Sowa 2015-01-23  58  #define IPSKB_DOREDIRECT	BIT(5)
d6b915e29f4ade Florian Westphal     2015-05-22  59  #define IPSKB_FRAG_PMTU		BIT(6)
9ee6c5dc816aa8 Lance Richardson     2016-11-02  60  #define IPSKB_L3SLAVE		BIT(7)
e6175a2ed1f18b Eyal Birger          2022-05-13  61  #define IPSKB_NOPOLICY		BIT(8)
6ac66cb03ae306 Sriram Yagnaraman    2023-08-31  62  #define IPSKB_MULTIPATH		BIT(9)
35bec72a24ace5 Petr Machata         2025-06-17  63  #define IPSKB_MCROUTE		BIT(10)
5f2d04f1f9b526 Patrick McHardy      2012-08-26  64  
5f2d04f1f9b526 Patrick McHardy      2012-08-26  65  	u16			frag_max_size;
49c6b94fa76fb9 Gustavo A. R. Silva  2025-07-01  66  	);};
^1da177e4c3f41 Linus Torvalds       2005-04-16  67  

:::::: The code at line 53 was first introduced by commit
:::::: df4d92549f23e1c037e83323aff58a21b3de7fe0 ipv4: try to cache dst_entries which would cause a redirect

:::::: TO: Hannes Frederic Sowa <hannes@stressinduktion.org>
:::::: CC: David S. Miller <davem@davemloft.net>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-07-24  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202507241726.sSdc7F3m-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.