All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-lts:5.4/preempt-rt 13985/19040] include/linux/stddef.h:8:14: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast
@ 2021-11-08 14:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-08 14:38 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   36a2ba81b7c7178b0612363a1af6f22887905cc6
commit: e3b73159b8cfd2c940dd6e55702754c16f1f3923 [13985/19040] mfd: intel-ehl-gpio: Introduce MFD framework to PSE GPIO/TGPIO
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/linux-intel-lts/commit/e3b73159b8cfd2c940dd6e55702754c16f1f3923
        git remote add intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-lts 5.4/preempt-rt
        git checkout e3b73159b8cfd2c940dd6e55702754c16f1f3923
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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

All warnings (new ones prefixed by >>):

   drivers/mfd/intel-ehl-gpio.c: In function 'intel_ehl_pse_gpio_mfd_suspend':
   drivers/mfd/intel-ehl-gpio.c:135:6: warning: unused variable 'i' [-Wunused-variable]
     135 |  int i = 0;
         |      ^
   drivers/mfd/intel-ehl-gpio.c: In function 'intel_ehl_pse_gpio_mfd_runtime_suspend':
   drivers/mfd/intel-ehl-gpio.c:184:6: warning: unused variable 'i' [-Wunused-variable]
     184 |  int i = 0;
         |      ^
   In file included from include/uapi/linux/posix_types.h:5,
                    from include/uapi/linux/types.h:14,
                    from include/linux/types.h:6,
                    from include/linux/limits.h:6,
                    from include/linux/kernel.h:7,
                    from drivers/mfd/intel-ehl-gpio.c:14:
   drivers/mfd/intel-ehl-gpio.c: At top level:
>> include/linux/stddef.h:8:14: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
       8 | #define NULL ((void *)0)
         |              ^
   drivers/mfd/intel-ehl-gpio.c:236:32: note: in expansion of macro 'NULL'
     236 |  { PCI_VDEVICE(INTEL, 0x4b88), NULL},
         |                                ^~~~
   include/linux/stddef.h:8:14: note: (near initialization for 'intel_ehl_pse_gpio_mfd_ids[0].driver_data')
       8 | #define NULL ((void *)0)
         |              ^
   drivers/mfd/intel-ehl-gpio.c:236:32: note: in expansion of macro 'NULL'
     236 |  { PCI_VDEVICE(INTEL, 0x4b88), NULL},
         |                                ^~~~
>> include/linux/stddef.h:8:14: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
       8 | #define NULL ((void *)0)
         |              ^
   drivers/mfd/intel-ehl-gpio.c:237:32: note: in expansion of macro 'NULL'
     237 |  { PCI_VDEVICE(INTEL, 0x4b89), NULL},
         |                                ^~~~
   include/linux/stddef.h:8:14: note: (near initialization for 'intel_ehl_pse_gpio_mfd_ids[1].driver_data')
       8 | #define NULL ((void *)0)
         |              ^
   drivers/mfd/intel-ehl-gpio.c:237:32: note: in expansion of macro 'NULL'
     237 |  { PCI_VDEVICE(INTEL, 0x4b89), NULL},
         |                                ^~~~


vim +8 include/linux/stddef.h

^1da177e4c3f41 Linus Torvalds   2005-04-16  6  
^1da177e4c3f41 Linus Torvalds   2005-04-16  7  #undef NULL
^1da177e4c3f41 Linus Torvalds   2005-04-16 @8  #define NULL ((void *)0)
6e218287432472 Richard Knutsson 2006-09-30  9  

:::::: The code at line 8 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
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: 61087 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-08 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 14:38 [intel-lts:5.4/preempt-rt 13985/19040] include/linux/stddef.h:8:14: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast 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.