LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [asahilinux:nvme/dev 15/15] drivers/nvme/host/pci.c:3071:59: warning: cast from pointer to integer of different size
@ 2021-07-30 23:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-30 23:59 UTC (permalink / raw)
  To: Sven Peter; +Cc: kbuild-all, linux-kernel

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

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65168 bytes --]

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

only message in thread, other threads:[~2021-07-31  0:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-30 23:59 [asahilinux:nvme/dev 15/15] drivers/nvme/host/pci.c:3071:59: 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).