All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/net/ethernet/aquantia/atlantic/aq_nic.c:223 aq_linkstate_threaded_isr() warn: should '(((1))) << (self->aq_nic_cfg.link_irq_vec)' be a 64 bit type?
@ 2021-05-05  5:55 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-05-05  5:55 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: "Léo Le Bouter" <lle-bout@zaclys.net>

Hi Léo,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d665ea6ea86c785760ee4bad4543dab3267ad074
commit: 9b22fece786ed641909988da4810bfa8e5d2e592 atlantic: remove architecture depends
date:   4 months ago
:::::: branch date: 5 hours ago
:::::: commit date: 4 months ago
config: i386-randconfig-m031-20210505 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/net/ethernet/aquantia/atlantic/aq_nic.c:223 aq_linkstate_threaded_isr() warn: should '(((1))) << (self->aq_nic_cfg.link_irq_vec)' be a 64 bit type?

vim +223 drivers/net/ethernet/aquantia/atlantic/aq_nic.c

3aec6412e007b2 Igor Russkikh  2017-09-25  212  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  213  static irqreturn_t aq_linkstate_threaded_isr(int irq, void *private)
1d2a8a138c2a14 Igor Russkikh  2019-04-29  214  {
1d2a8a138c2a14 Igor Russkikh  2019-04-29  215  	struct aq_nic_s *self = private;
1d2a8a138c2a14 Igor Russkikh  2019-04-29  216  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  217  	if (!self)
1d2a8a138c2a14 Igor Russkikh  2019-04-29  218  		return IRQ_NONE;
1d2a8a138c2a14 Igor Russkikh  2019-04-29  219  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  220  	aq_nic_update_link_status(self);
1d2a8a138c2a14 Igor Russkikh  2019-04-29  221  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  222  	self->aq_hw_ops->hw_irq_enable(self->aq_hw,
1d2a8a138c2a14 Igor Russkikh  2019-04-29 @223  				       BIT(self->aq_nic_cfg.link_irq_vec));
7b0c342f1f6754 Nikita Danilov 2019-11-07  224  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  225  	return IRQ_HANDLED;
1d2a8a138c2a14 Igor Russkikh  2019-04-29  226  }
1d2a8a138c2a14 Igor Russkikh  2019-04-29  227  

:::::: The code at line 223 was first introduced by commit
:::::: 1d2a8a138c2a1462099ba45d1c5bcd9a576ced2a net: aquantia: link interrupt handling function

:::::: TO: Igor Russkikh <Igor.Russkikh@aquantia.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35852 bytes --]

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

* drivers/net/ethernet/aquantia/atlantic/aq_nic.c:223 aq_linkstate_threaded_isr() warn: should '(((1))) << (self->aq_nic_cfg.link_irq_vec)' be a 64 bit type?
@ 2021-09-13  9:11 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-13  9:11 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: "Léo Le Bouter" <lle-bout@zaclys.net>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
commit: 9b22fece786ed641909988da4810bfa8e5d2e592 atlantic: remove architecture depends
date:   9 months ago
:::::: branch date: 10 hours ago
:::::: commit date: 9 months ago
config: i386-randconfig-m031-20210911 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
drivers/net/ethernet/aquantia/atlantic/aq_nic.c:223 aq_linkstate_threaded_isr() warn: should '(((1))) << (self->aq_nic_cfg.link_irq_vec)' be a 64 bit type?

vim +223 drivers/net/ethernet/aquantia/atlantic/aq_nic.c

3aec6412e007b2 Igor Russkikh  2017-09-25  212  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  213  static irqreturn_t aq_linkstate_threaded_isr(int irq, void *private)
1d2a8a138c2a14 Igor Russkikh  2019-04-29  214  {
1d2a8a138c2a14 Igor Russkikh  2019-04-29  215  	struct aq_nic_s *self = private;
1d2a8a138c2a14 Igor Russkikh  2019-04-29  216  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  217  	if (!self)
1d2a8a138c2a14 Igor Russkikh  2019-04-29  218  		return IRQ_NONE;
1d2a8a138c2a14 Igor Russkikh  2019-04-29  219  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  220  	aq_nic_update_link_status(self);
1d2a8a138c2a14 Igor Russkikh  2019-04-29  221  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  222  	self->aq_hw_ops->hw_irq_enable(self->aq_hw,
1d2a8a138c2a14 Igor Russkikh  2019-04-29 @223  				       BIT(self->aq_nic_cfg.link_irq_vec));
7b0c342f1f6754 Nikita Danilov 2019-11-07  224  
1d2a8a138c2a14 Igor Russkikh  2019-04-29  225  	return IRQ_HANDLED;
1d2a8a138c2a14 Igor Russkikh  2019-04-29  226  }
1d2a8a138c2a14 Igor Russkikh  2019-04-29  227  

:::::: The code at line 223 was first introduced by commit
:::::: 1d2a8a138c2a1462099ba45d1c5bcd9a576ced2a net: aquantia: link interrupt handling function

:::::: TO: Igor Russkikh <Igor.Russkikh@aquantia.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35244 bytes --]

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

end of thread, other threads:[~2021-09-13  9:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05  5:55 drivers/net/ethernet/aquantia/atlantic/aq_nic.c:223 aq_linkstate_threaded_isr() warn: should '(((1))) << (self->aq_nic_cfg.link_irq_vec)' be a 64 bit type? kernel test robot
2021-09-13  9:11 kernel test robot

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.