[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202411180131.xdHcVFlh-lkp@intel.com>
Date: Mon, 18 Nov 2024 01:22:39 +0800
From: kernel test robot <lkp@...el.com>
To: Easwar Hariharan <eahariha@...ux.microsoft.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>,
Julia Lawall <julia.lawall@...ia.fr>,
Nicolas Palix <nicolas.palix@...g.fr>,
Daniel Mack <daniel@...que.org>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>,
Russell King <linux@...linux.org.uk>,
Heiko Carstens <hca@...ux.ibm.com>,
Vasily Gorbik <gor@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Sven Schnelle <svens@...ux.ibm.com>,
Ofir Bitton <obitton@...ana.ai>, Oded Gabbay <ogabbay@...nel.org>,
Lucas De Marchi <lucas.demarchi@...el.com>,
Thomas Hellström <thomas.hellstrom@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Jeroen de Borst <jeroendb@...gle.com>
Cc: oe-kbuild-all@...ts.linux.dev, netdev@...r.kernel.org
Subject: Re: [PATCH v2 01/21] netfilter: conntrack: Cleanup timeout
definitions
Hi Easwar,
kernel test robot noticed the following build errors:
[auto build test ERROR on 2d5404caa8c7bb5c4e0435f94b28834ae5456623]
url: https://github.com/intel-lab-lkp/linux/commits/Easwar-Hariharan/netfilter-conntrack-Cleanup-timeout-definitions/20241117-003530
base: 2d5404caa8c7bb5c4e0435f94b28834ae5456623
patch link: https://lore.kernel.org/r/20241115-converge-secs-to-jiffies-v2-1-911fb7595e79%40linux.microsoft.com
patch subject: [PATCH v2 01/21] netfilter: conntrack: Cleanup timeout definitions
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20241118/202411180131.xdHcVFlh-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241118/202411180131.xdHcVFlh-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411180131.xdHcVFlh-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/netfilter/nf_conntrack_proto_sctp.c:43:51: error: implicit declaration of function 'secs_to_jiffies'; did you mean 'nsecs_to_jiffies'? [-Werror=implicit-function-declaration]
43 | [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10),
| ^~~~~~~~~~~~~~~
| nsecs_to_jiffies
>> net/netfilter/nf_conntrack_proto_sctp.c:43:51: error: initializer element is not constant
net/netfilter/nf_conntrack_proto_sctp.c:43:51: note: (near initialization for 'sctp_timeouts[1]')
net/netfilter/nf_conntrack_proto_sctp.c:44:51: error: initializer element is not constant
44 | [SCTP_CONNTRACK_COOKIE_WAIT] = secs_to_jiffies(3),
| ^~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_sctp.c:44:51: note: (near initialization for 'sctp_timeouts[2]')
net/netfilter/nf_conntrack_proto_sctp.c:45:51: error: initializer element is not constant
45 | [SCTP_CONNTRACK_COOKIE_ECHOED] = secs_to_jiffies(3),
| ^~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_sctp.c:45:51: note: (near initialization for 'sctp_timeouts[3]')
net/netfilter/nf_conntrack_proto_sctp.c:46:51: error: initializer element is not constant
46 | [SCTP_CONNTRACK_ESTABLISHED] = secs_to_jiffies(210),
| ^~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_sctp.c:46:51: note: (near initialization for 'sctp_timeouts[4]')
net/netfilter/nf_conntrack_proto_sctp.c:47:51: error: initializer element is not constant
47 | [SCTP_CONNTRACK_SHUTDOWN_SENT] = secs_to_jiffies(3),
| ^~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_sctp.c:47:51: note: (near initialization for 'sctp_timeouts[5]')
net/netfilter/nf_conntrack_proto_sctp.c:48:51: error: initializer element is not constant
48 | [SCTP_CONNTRACK_SHUTDOWN_RECD] = secs_to_jiffies(3),
| ^~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_sctp.c:48:51: note: (near initialization for 'sctp_timeouts[6]')
net/netfilter/nf_conntrack_proto_sctp.c:49:51: error: initializer element is not constant
49 | [SCTP_CONNTRACK_SHUTDOWN_ACK_SENT] = secs_to_jiffies(3),
| ^~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_sctp.c:49:51: note: (near initialization for 'sctp_timeouts[7]')
net/netfilter/nf_conntrack_proto_sctp.c:50:51: error: initializer element is not constant
50 | [SCTP_CONNTRACK_HEARTBEAT_SENT] = secs_to_jiffies(3),
| ^~~~~~~~~~~~~~~
net/netfilter/nf_conntrack_proto_sctp.c:50:51: note: (near initialization for 'sctp_timeouts[8]')
cc1: some warnings being treated as errors
vim +43 net/netfilter/nf_conntrack_proto_sctp.c
41
42 static const unsigned int sctp_timeouts[SCTP_CONNTRACK_MAX] = {
> 43 [SCTP_CONNTRACK_CLOSED] = secs_to_jiffies(10),
44 [SCTP_CONNTRACK_COOKIE_WAIT] = secs_to_jiffies(3),
45 [SCTP_CONNTRACK_COOKIE_ECHOED] = secs_to_jiffies(3),
46 [SCTP_CONNTRACK_ESTABLISHED] = secs_to_jiffies(210),
47 [SCTP_CONNTRACK_SHUTDOWN_SENT] = secs_to_jiffies(3),
48 [SCTP_CONNTRACK_SHUTDOWN_RECD] = secs_to_jiffies(3),
49 [SCTP_CONNTRACK_SHUTDOWN_ACK_SENT] = secs_to_jiffies(3),
50 [SCTP_CONNTRACK_HEARTBEAT_SENT] = secs_to_jiffies(3),
51 };
52
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists