public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sven Peter <sven@svenpeter.dev>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [asahilinux:nvme/dev 15/15] drivers/nvme/host/pci.c:3071:59: warning: cast from pointer to integer of different size
Date: Sat, 31 Jul 2021 07:59:50 +0800	[thread overview]
Message-ID: <202107310743.lF1sIRpL-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-07-31  0:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107310743.lF1sIRpL-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sven@svenpeter.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox