* [intel-lts:5.4/yocto 13550/20394] include/linux/stddef.h:8:14: warning: initialization of 'long unsigned int' from 'void *' makes integer from pointer without a cast
@ 2022-01-22 15:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-22 15:56 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4018 bytes --]
Hi Raymond,
FYI, the error/warning still remains.
tree: https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: 36f93ff941f127f4137ab369aecbdd995fb58c66
commit: e3b73159b8cfd2c940dd6e55702754c16f1f3923 [13550/20394] mfd: intel-ehl-gpio: Introduce MFD framework to PSE GPIO/TGPIO
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220122/202201222346.ttrLsdym-lkp(a)intel.com/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/yocto
git checkout e3b73159b8cfd2c940dd6e55702754c16f1f3923
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/mfd/ drivers/ptp/
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-22 15:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-22 15:56 [intel-lts:5.4/yocto 13550/20394] 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.