* [nsa:b4/dev-adp5589-fw-conversion 5/14] include/linux/irq.h:1300:25: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1'
@ 2024-09-29 20:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-29 20:01 UTC (permalink / raw)
To: Nuno Sa; +Cc: oe-kbuild-all, Nuno Sa
tree: https://github.com/nunojsa/linux b4/dev-adp5589-fw-conversion
head: d8f775093f32be0f662a6093041d941d372d4830
commit: 6a5d4ac02d5c62d620ab4bc46c1cebf0cfe64436 [5/14] Input: adp5589-keys: support gpi key events as 'gpio keys'
config: x86_64-buildonly-randconfig-004-20240930 (https://download.01.org/0day-ci/archive/20240930/202409300351.ocoRQDuB-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/20240930/202409300351.ocoRQDuB-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/202409300351.ocoRQDuB-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/input/keyboard/adp5589-keys.c:13:
drivers/input/keyboard/adp5589-keys.c: In function 'adp5589_gpiomap_get_hwirq':
>> include/linux/irq.h:1300:25: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow]
1300 | #define INVALID_HWIRQ (~0UL)
| ^
drivers/input/keyboard/adp5589-keys.c:639:16: note: in expansion of macro 'INVALID_HWIRQ'
639 | return INVALID_HWIRQ;
| ^~~~~~~~~~~~~
vim +1300 include/linux/irq.h
2f75d9e1c90511 Thomas Gleixner 2017-09-13 1298
d17bf24e695290 Qais Yousef 2015-12-08 1299 /* Contrary to Linux irqs, for hardware irqs the irq number 0 is valid */
d17bf24e695290 Qais Yousef 2015-12-08 @1300 #define INVALID_HWIRQ (~0UL)
f9bce791ae2a1a Qais Yousef 2015-12-08 1301 irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu);
3b8e29a82dd16c Qais Yousef 2015-12-08 1302 int __ipi_send_single(struct irq_desc *desc, unsigned int cpu);
3b8e29a82dd16c Qais Yousef 2015-12-08 1303 int __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest);
3b8e29a82dd16c Qais Yousef 2015-12-08 1304 int ipi_send_single(unsigned int virq, unsigned int cpu);
3b8e29a82dd16c Qais Yousef 2015-12-08 1305 int ipi_send_mask(unsigned int virq, const struct cpumask *dest);
d17bf24e695290 Qais Yousef 2015-12-08 1306
:::::: The code at line 1300 was first introduced by commit
:::::: d17bf24e695290d3fe7943aca52ab48098a10653 genirq: Add a new generic IPI reservation code to irq core
:::::: TO: Qais Yousef <qais.yousef@imgtec.com>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-29 20:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-29 20:01 [nsa:b4/dev-adp5589-fw-conversion 5/14] include/linux/irq.h:1300:25: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' 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.