[nomadik:ux500-href-dts-fixups 30/30] init/initramfs.c:670:9: sparse: sparse: non size-preserving pointer to integer cast

kernel test robot lkp at intel.com
Sun Apr 18 00:52:55 BST 2021


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: x86_64-randconfig-s021-20210418 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-280-g2cd6d34e-dirty
        # 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
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=x86_64 

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


sparse warnings: (new ones prefixed by >>)
   init/initramfs.c:675:9: sparse: sparse: mixing declarations and code
>> init/initramfs.c:670:9: sparse: sparse: non size-preserving pointer to integer cast

vim +670 init/initramfs.c

   667	
   668	static int __init populate_rootfs(void)
   669	{
 > 670		pr_info("%s enter __initramfs_start = %08x, __initramfs_size = %08x\n",

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 36448 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210418/985f459f/attachment-0001.gz>


More information about the linux-arm-kernel mailing list