lkml.org 
[lkml]   [2021]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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@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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-07-31 02:00    [W:0.251 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site