All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 4/4] vdpa/mlx5: Use auxiliary_device driver data helpers
Date: Wed, 22 Dec 2021 20:08:46 +0800	[thread overview]
Message-ID: <202112222008.UErq9RfO-lkp@intel.com> (raw)
In-Reply-To: <20211221235852.323752-5-david.e.box@linux.intel.com>

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

Hi "David,

I love your patch! Perhaps something to improve:

[auto build test WARNING on rdma/for-next]
[also build test WARNING on staging/staging-testing linus/master v5.16-rc6 next-20211221]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/David-E-Box/driver_core-Auxiliary-drvdata-helper-cleanup/20211222-080023
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20211222/202112222008.UErq9RfO-lkp(a)intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/2d64ea213a12338ed3706a0ebf6fd7b356bc5a5f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review David-E-Box/driver_core-Auxiliary-drvdata-helper-cleanup/20211222-080023
        git checkout 2d64ea213a12338ed3706a0ebf6fd7b356bc5a5f
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/infiniband/hw/irdma/ drivers/infiniband/hw/mlx5/ drivers/net/ethernet/mellanox/mlx5/core/ drivers/vdpa/mlx5/

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 >>):

   drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'mlx5v_probe':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:2686:9: error: implicit declaration of function 'auxiliary_set_drvdata' [-Werror=implicit-function-declaration]
    2686 |         auxiliary_set_drvdata(adev, mgtdev);
         |         ^~~~~~~~~~~~~~~~~~~~~
   drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'mlx5v_remove':
   drivers/vdpa/mlx5/net/mlx5_vnet.c:2699:18: error: implicit declaration of function 'auxiliary_get_drvdata' [-Werror=implicit-function-declaration]
    2699 |         mgtdev = auxiliary_get_drvdata(adev);
         |                  ^~~~~~~~~~~~~~~~~~~~~
>> drivers/vdpa/mlx5/net/mlx5_vnet.c:2699:16: warning: assignment to 'struct mlx5_vdpa_mgmtdev *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
    2699 |         mgtdev = auxiliary_get_drvdata(adev);
         |                ^
   cc1: some warnings being treated as errors


vim +2699 drivers/vdpa/mlx5/net/mlx5_vnet.c

  2694	
  2695	static void mlx5v_remove(struct auxiliary_device *adev)
  2696	{
  2697		struct mlx5_vdpa_mgmtdev *mgtdev;
  2698	
> 2699		mgtdev = auxiliary_get_drvdata(adev);
  2700		vdpa_mgmtdev_unregister(&mgtdev->mgtdev);
  2701		kfree(mgtdev);
  2702	}
  2703	

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

  reply	other threads:[~2021-12-22 12:08 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21 23:58 [PATCH 0/4] driver_core: Auxiliary drvdata helper cleanup David E. Box
2021-12-21 23:58 ` [PATCH 1/4] RDMA/irdma: Use auxiliary_device driver data helpers David E. Box
2021-12-22  7:34   ` kernel test robot
2021-12-22 12:27   ` Cezary Rojewski
2021-12-22 12:27     ` Cezary Rojewski
2021-12-21 23:58 ` [PATCH 2/4] soundwire: intel: " David E. Box
2021-12-22 11:18   ` Andy Shevchenko
2021-12-22 11:18     ` Andy Shevchenko
2021-12-22 11:18     ` Andy Shevchenko
2021-12-21 23:58 ` [PATCH 3/4] net/mlx5e: " David E. Box
2021-12-22  9:56   ` kernel test robot
2021-12-21 23:58 ` [PATCH 4/4] vdpa/mlx5: " David E. Box
2021-12-22 12:08   ` kernel test robot [this message]
2021-12-22  0:09 ` [PATCH 0/4] driver_core: Auxiliary drvdata helper cleanup Jason Gunthorpe
2021-12-22  0:09   ` Jason Gunthorpe
2021-12-22  0:09   ` Jason Gunthorpe
2021-12-22  0:48   ` David E. Box
2021-12-22 17:18     ` Jason Gunthorpe
2021-12-22 17:18       ` Jason Gunthorpe
2021-12-22 17:18       ` Jason Gunthorpe
2021-12-22 12:34 ` Cezary Rojewski
2021-12-22 12:34   ` Cezary Rojewski

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=202112222008.UErq9RfO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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.