netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Easwar Hariharan" <eahariha@linux.microsoft.com>,
	"Pablo Neira Ayuso" <pablo@netfilter.org>,
	"Jozsef Kadlecsik" <kadlec@netfilter.org>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Simon Horman" <horms@kernel.org>,
	"Julia Lawall" <julia.lawall@inria.fr>,
	"Nicolas Palix" <nicolas.palix@imag.fr>,
	"Daniel Mack" <daniel@zonque.org>,
	"Haojian Zhuang" <haojian.zhuang@gmail.com>,
	"Robert Jarzmik" <robert.jarzmik@free.fr>,
	"Russell King" <linux@armlinux.org.uk>,
	"Heiko Carstens" <hca@linux.ibm.com>,
	"Vasily Gorbik" <gor@linux.ibm.com>,
	"Alexander Gordeev" <agordeev@linux.ibm.com>,
	"Christian Borntraeger" <borntraeger@linux.ibm.com>,
	"Sven Schnelle" <svens@linux.ibm.com>,
	"Ofir Bitton" <obitton@habana.ai>,
	"Oded Gabbay" <ogabbay@kernel.org>,
	"Lucas De Marchi" <lucas.demarchi@intel.com>,
	Thomas =?unknown-8bit?Q?Hellstr=C3=B6m?=
	<thomas.hellstrom@linux.intel.com>,
	"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
	"Maxime Ripard" <mripard@kernel.org>,
	"Thomas Zimmermann" <tzimmermann@suse.de>,
	"David Airlie" <airlied@gmail.com>,
	"Simona Vetter" <simona@ffwll.ch>,
	"Jeroen de Borst" <jeroendb@google.com>
Cc: oe-kbuild-all@lists.linux.dev, netdev@vger.kernel.org
Subject: Re: [PATCH v2 01/21] netfilter: conntrack: Cleanup timeout definitions
Date: Mon, 18 Nov 2024 01:22:39 +0800	[thread overview]
Message-ID: <202411180131.xdHcVFlh-lkp@intel.com> (raw)
In-Reply-To: <20241115-converge-secs-to-jiffies-v2-1-911fb7595e79@linux.microsoft.com>

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@intel.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

  parent reply	other threads:[~2024-11-17 17:23 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-15 21:26 [PATCH v2 00/21] Converge on using secs_to_jiffies() Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 01/21] netfilter: conntrack: Cleanup timeout definitions Easwar Hariharan
2024-11-15 22:34   ` Stephen Rothwell
2024-11-16  0:13     ` Easwar Hariharan
2024-11-16  9:40   ` Christophe Leroy
2024-11-18 18:13     ` Easwar Hariharan
2024-11-17 17:22   ` kernel test robot [this message]
2024-11-15 21:26 ` [PATCH v2 02/21] coccinelle: misc: Add secs_to_jiffies script Easwar Hariharan
2024-11-16  6:05   ` Christophe JAILLET
2024-11-18 18:09     ` Easwar Hariharan
2024-11-16  9:52   ` Christophe Leroy
2024-11-18 18:14     ` Easwar Hariharan
2024-11-16 10:23   ` [cocci] " Markus Elfring
2024-11-15 21:26 ` [PATCH v2 03/21] arm: pxa: Convert timeouts to use secs_to_jiffies() Easwar Hariharan
2024-11-16 10:26   ` Christophe Leroy
2024-11-15 21:26 ` [PATCH v2 04/21] s390: kernel: " Easwar Hariharan
2024-11-18  8:26   ` Heiko Carstens
2024-11-15 21:26 ` [PATCH v2 05/21] powerpc/papr_scm: Convert timeouts to secs_to_jiffies() Easwar Hariharan
2024-11-16 10:06   ` Christophe Leroy
2024-11-16 10:40     ` Dan Carpenter
2024-11-16 11:24       ` Julia Lawall
2024-11-15 21:26 ` [PATCH v2 06/21] mm: kmemleak: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 07/21] accel/habanalabs: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 08/21] drm/xe: Convert timeout " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 09/21] drm/etnaviv: Convert timeouts " Easwar Hariharan
2024-12-02 21:16   ` Christian Gmeiner
2024-11-15 21:26 ` [PATCH v2 10/21] scsi: lpfc: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 11/21] scsi: arcmsr: " Easwar Hariharan
2024-11-17 17:12   ` kernel test robot
2024-11-15 21:26 ` [PATCH v2 12/21] scsi: pm8001: " Easwar Hariharan
2024-11-17 18:24   ` kernel test robot
2024-11-15 21:26 ` [PATCH v2 13/21] xen/blkback: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 14/21] gve: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 15/21] wifi: ath11k: " Easwar Hariharan
2024-11-15 22:59   ` Jeff Johnson
2024-11-15 21:26 ` [PATCH v2 16/21] Bluetooth: MGMT: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 17/21] staging: vc04_services: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 18/21] ceph: " Easwar Hariharan
2024-11-28 12:28   ` Alex Markuze
2024-11-15 21:26 ` [PATCH v2 19/21] livepatch: " Easwar Hariharan
2024-11-16 10:10   ` Christophe Leroy
2024-11-18 11:06     ` Petr Mladek
2024-11-18 18:18       ` Easwar Hariharan
2024-11-19  1:43         ` zhang warden
2024-11-19  8:52         ` Petr Mladek
2024-11-19  9:09           ` Miroslav Benes
2024-11-15 21:26 ` [PATCH v2 20/21] ALSA: line6: " Easwar Hariharan
2024-11-15 21:26 ` [PATCH v2 21/21] nfp: " Easwar Hariharan
2024-11-16 10:13   ` Christophe Leroy
2024-11-15 21:29 ` [PATCH v2 00/21] Converge on using secs_to_jiffies() Easwar Hariharan
2024-11-15 21:41   ` Jeff Johnson
2024-11-15 22:15     ` Easwar Hariharan
2024-11-15 23:20       ` Thomas Gleixner
2024-11-16  7:46   ` Christophe Leroy
2024-11-16 10:16 ` Christophe Leroy
2024-11-16 10:23 ` LEROY Christophe
2024-11-18 18:07   ` Easwar Hariharan
2024-11-29 12:57 ` Przemek Kitszel
2024-12-06 20:58   ` Easwar Hariharan
2024-12-09 12:01     ` Przemek Kitszel
2024-12-09 12:45       ` Christophe Leroy
2024-12-09 15:03         ` Przemek Kitszel

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=202411180131.xdHcVFlh-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=agordeev@linux.ibm.com \
    --cc=airlied@gmail.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=daniel@zonque.org \
    --cc=davem@davemloft.net \
    --cc=eahariha@linux.microsoft.com \
    --cc=edumazet@google.com \
    --cc=gor@linux.ibm.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=hca@linux.ibm.com \
    --cc=horms@kernel.org \
    --cc=jeroendb@google.com \
    --cc=julia.lawall@inria.fr \
    --cc=kadlec@netfilter.org \
    --cc=kuba@kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=lucas.demarchi@intel.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.palix@imag.fr \
    --cc=obitton@habana.ai \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ogabbay@kernel.org \
    --cc=pabeni@redhat.com \
    --cc=pablo@netfilter.org \
    --cc=robert.jarzmik@free.fr \
    --cc=rodrigo.vivi@intel.com \
    --cc=simona@ffwll.ch \
    --cc=svens@linux.ibm.com \
    --cc=thomas.hellstrom@linux.intel.com \
    --cc=tzimmermann@suse.de \
    /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 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).