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: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
netdev@vger.kernel.org
Subject: Re: [PATCH v2 11/21] scsi: arcmsr: Convert timeouts to secs_to_jiffies()
Date: Mon, 18 Nov 2024 01:12:25 +0800 [thread overview]
Message-ID: <202411180001.cZ0sTVB8-lkp@intel.com> (raw)
In-Reply-To: <20241115-converge-secs-to-jiffies-v2-11-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-11-911fb7595e79%40linux.microsoft.com
patch subject: [PATCH v2 11/21] scsi: arcmsr: Convert timeouts to secs_to_jiffies()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20241118/202411180001.cZ0sTVB8-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241118/202411180001.cZ0sTVB8-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/202411180001.cZ0sTVB8-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/scsi/arcmsr/arcmsr_hba.c:56:
In file included from include/linux/dma-mapping.h:11:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2213:
include/linux/vmstat.h:504:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
504 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
505 | item];
| ~~~~
include/linux/vmstat.h:511:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
511 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
512 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
include/linux/vmstat.h:524:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion]
524 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~ ^
525 | NR_VM_NUMA_EVENT_ITEMS +
| ~~~~~~~~~~~~~~~~~~~~~~
>> drivers/scsi/arcmsr/arcmsr_hba.c:1047:42: error: call to undeclared function 'secs_to_jiffies'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1047 | pacb->refresh_timer.expires = jiffies + secs_to_jiffies(60);
| ^
drivers/scsi/arcmsr/arcmsr_hba.c:1057:34: warning: shift count >= width of type [-Wshift-count-overflow]
1057 | dma_set_mask(&pcidev->dev, DMA_BIT_MASK(64)))
| ^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK'
77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
| ^ ~~~
drivers/scsi/arcmsr/arcmsr_hba.c:1061:43: warning: shift count >= width of type [-Wshift-count-overflow]
1061 | if (dma_set_coherent_mask(&pcidev->dev, DMA_BIT_MASK(64)) ||
| ^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK'
77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
| ^ ~~~
drivers/scsi/arcmsr/arcmsr_hba.c:1062:47: warning: shift count >= width of type [-Wshift-count-overflow]
1062 | dma_set_mask_and_coherent(&pcidev->dev, DMA_BIT_MASK(64))) {
| ^~~~~~~~~~~~~~~~
include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK'
77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
| ^ ~~~
7 warnings and 1 error generated.
vim +/secs_to_jiffies +1047 drivers/scsi/arcmsr/arcmsr_hba.c
1043
1044 static void arcmsr_init_set_datetime_timer(struct AdapterControlBlock *pacb)
1045 {
1046 timer_setup(&pacb->refresh_timer, arcmsr_set_iop_datetime, 0);
> 1047 pacb->refresh_timer.expires = jiffies + secs_to_jiffies(60);
1048 add_timer(&pacb->refresh_timer);
1049 }
1050
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-11-17 17:13 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
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 [this message]
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=202411180001.cZ0sTVB8-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=llvm@lists.linux.dev \
--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).