All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: jason.zeng@intel.com, lin.x.wang@intel.com, pei.p.jia@intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [bytedance:5.15-velinux 0/1] drivers/vdpa/ifcvf/ifcvf_main.c:553:13: error: incompatible function pointer types initializing 'void (*)(struct vdpa_mgmt_dev *, struct vdpa_device *, int)' with an expression of type 'void (struct vdpa_mgmt_dev *, struct vdpa_device *)'
Date: Fri, 9 May 2025 14:55:20 +0800	[thread overview]
Message-ID: <202505091413.d35ALLmI-lkp@intel.com> (raw)

tree:   https://github.com/bytedance/kernel.git 5.15-velinux
head:   de277dab626c9ece4c9cf99ec9c56f23b298a042
commit: e4b7b11288fc91b44fd73cd10b954c515eeb26ca [0/1] bytedance: vdpa: Add deletion timeout support
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250509/202505091413.d35ALLmI-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.58.0 (02072b482 2022-01-11)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250509/202505091413.d35ALLmI-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505091413.d35ALLmI-lkp@intel.com/

Note: the bytedance/5.15-velinux HEAD de277dab626c9ece4c9cf99ec9c56f23b298a042 builds fine.
      It only hurts bisectability.

All errors (new ones prefixed by >>):

>> drivers/vdpa/ifcvf/ifcvf_main.c:553:13: error: incompatible function pointer types initializing 'void (*)(struct vdpa_mgmt_dev *, struct vdpa_device *, int)' with an expression of type 'void (struct vdpa_mgmt_dev *, struct vdpa_device *)' [-Wincompatible-function-pointer-types]
     553 |         .dev_del = ifcvf_vdpa_dev_del
         |                    ^~~~~~~~~~~~~~~~~~
   drivers/vdpa/ifcvf/ifcvf_main.c:600:39: warning: shift count >= width of type [-Wshift-count-overflow]
     600 |         ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
         |                                              ^~~~~~~~~~~~~~~~
   include/linux/dma-mapping.h:76:54: note: expanded from macro 'DMA_BIT_MASK'
      76 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
         |                                                      ^ ~~~
   1 warning and 1 error generated.
--
>> drivers/vdpa/mlx5/net/mlx5_vnet.c:2650:13: error: incompatible function pointer types initializing 'void (*)(struct vdpa_mgmt_dev *, struct vdpa_device *, int)' with an expression of type 'void (struct vdpa_mgmt_dev *, struct vdpa_device *)' [-Wincompatible-function-pointer-types]
    2650 |         .dev_del = mlx5_vdpa_dev_del,
         |                    ^~~~~~~~~~~~~~~~~
   1 error generated.


vim +553 drivers/vdpa/ifcvf/ifcvf_main.c

6b5df347c6482f Zhu Lingshan 2021-08-12  550  
6b5df347c6482f Zhu Lingshan 2021-08-12  551  static const struct vdpa_mgmtdev_ops ifcvf_vdpa_mgmt_dev_ops = {
6b5df347c6482f Zhu Lingshan 2021-08-12  552  	.dev_add = ifcvf_vdpa_dev_add,
6b5df347c6482f Zhu Lingshan 2021-08-12 @553  	.dev_del = ifcvf_vdpa_dev_del
6b5df347c6482f Zhu Lingshan 2021-08-12  554  };
6b5df347c6482f Zhu Lingshan 2021-08-12  555  

:::::: The code at line 553 was first introduced by commit
:::::: 6b5df347c6482f57b0d8f0569b86fb8fcd90d168 vDPA/ifcvf: implement management netlink framework for ifcvf

:::::: TO: Zhu Lingshan <lingshan.zhu@intel.com>
:::::: CC: Michael S. Tsirkin <mst@redhat.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-05-09  6:55 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=202505091413.d35ALLmI-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jason.zeng@intel.com \
    --cc=lin.x.wang@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pei.p.jia@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.