lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107310743.lF1sIRpL-lkp@intel.com>
Date:   Sat, 31 Jul 2021 07:59:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Sven Peter <sven@...npeter.dev>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [asahilinux:nvme/dev 15/15] drivers/nvme/host/pci.c:3071:59:
 warning: cast from pointer to integer of different size

tree:   https://github.com/AsahiLinux/linux nvme/dev
head:   29500f6a24f557631ee621c3c4af2df9fc44cce8
commit: 29500f6a24f557631ee621c3c4af2df9fc44cce8 [15/15] WIP: apple NVMe
config: i386-allyesconfig (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
        # https://github.com/AsahiLinux/linux/commit/29500f6a24f557631ee621c3c4af2df9fc44cce8
        git remote add asahilinux https://github.com/AsahiLinux/linux
        git fetch --no-tags asahilinux nvme/dev
        git checkout 29500f6a24f557631ee621c3c4af2df9fc44cce8
        # 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@...el.com>

All warnings (new ones prefixed by >>):

   In file included from include/linux/device.h:15,
                    from include/linux/acpi.h:15,
                    from drivers/nvme/host/pci.c:7:
   drivers/nvme/host/pci.c: In function 'nvme_apple_rx_callback':
>> drivers/nvme/host/pci.c:3071:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    3071 |  dev_warn(dev, "Unexpected message from ANS2: %016llx\n", (u64)msg);
         |                                                           ^
   include/linux/dev_printk.h:114:33: note: in definition of macro 'dev_warn'
     114 |  _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__)
         |                                 ^~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PHY_SPARX5_SERDES
   Depends on (ARCH_SPARX5 || COMPILE_TEST && OF && HAS_IOMEM
   Selected by
   - SPARX5_SWITCH && NETDEVICES && ETHERNET && NET_VENDOR_MICROCHIP && NET_SWITCHDEV && HAS_IOMEM


vim +3071 drivers/nvme/host/pci.c

  3067	
  3068	static void nvme_apple_rx_callback(struct mbox_client *cl, void *msg)
  3069	{
  3070		struct device *dev = cl->dev;
> 3071		dev_warn(dev, "Unexpected message from ANS2: %016llx\n", (u64)msg);
  3072	}
  3073	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (65168 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ