* [nomadik:ux500-href-dts-fixups 30/30] init/initramfs.c:672:3: warning: cast from pointer to integer of different size
@ 2021-04-17 22:49 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-17 22:49 UTC (permalink / raw)
To: Linus Walleij; +Cc: kbuild-all, linux-arm-kernel
[-- Attachment #1: Type: text/plain, Size: 2389 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ux500-href-dts-fixups
head: 3f62443c165ea1c988d9b0855292785a28906698
commit: 3f62443c165ea1c988d9b0855292785a28906698 [30/30] hacks
config: mips-bigsur_defconfig (attached as .config)
compiler: mips64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git/commit/?id=3f62443c165ea1c988d9b0855292785a28906698
git remote add nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
git fetch --no-tags nomadik ux500-href-dts-fixups
git checkout 3f62443c165ea1c988d9b0855292785a28906698
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=mips
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 >>):
In file included from include/linux/kernel.h:16,
from include/linux/list.h:9,
from include/linux/wait.h:7,
from include/linux/wait_bit.h:8,
from include/linux/fs.h:6,
from init/initramfs.c:3:
init/initramfs.c: In function 'populate_rootfs':
>> init/initramfs.c:672:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
672 | (unsigned int)__initramfs_start,
| ^
include/linux/printk.h:373:34: note: in definition of macro 'pr_info'
373 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
init/initramfs.c:675:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
675 | char *err = unpack_to_rootfs(__initramfs_start, __initramfs_size);
| ^~~~
vim +672 init/initramfs.c
667
668 static int __init populate_rootfs(void)
669 {
670 pr_info("%s enter __initramfs_start = %08x, __initramfs_size = %08x\n",
671 __func__,
> 672 (unsigned int)__initramfs_start,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 16780 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-17 22:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-17 22:49 [nomadik:ux500-href-dts-fixups 30/30] init/initramfs.c:672:3: warning: cast from pointer to integer of different size kernel test robot
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).