Hi Daniel,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on drm-tip/drm-tip]
[cannot apply to sunxi/sunxi/for-next drm-intel/for-linux-next linus/master
linux-arm/drm-armada-devel linux-arm/drm-armada-fixes v5.13-rc7 next-20210622]
[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/Daniel-Vetter/implicit-fencing-d...
base:
git://anongit.freedesktop.org/drm/drm-tip drm-tip
config: x86_64-randconfig-s031-20210622 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
#
https://github.com/0day-ci/linux/commit/42de2bd7635cf7c6d79494a3a35512c53...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Daniel-Vetter/implicit-fencing-dma-resv-rules-for-shared-buffers/20210623-005623
git checkout 42de2bd7635cf7c6d79494a3a35512c53196524f
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:1727:5: warning: no
previous prototype for 'amdgpu_setparam_ioctl' [-Wmissing-prototypes]
1727 | int amdgpu_setparam_ioctl(struct drm_device *dev, void *data,
| ^~~~~~~~~~~~~~~~~~~~~
vim +/amdgpu_setparam_ioctl +1727 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
1726
1727 int amdgpu_setparam_ioctl(struct drm_device *dev, void *data,
1728 struct drm_file *filp)
1729 {
1730 struct drm_amdgpu_setparam *setparam = data;
1731 struct amdgpu_fpriv *fpriv = filp->driver_priv;
1732
1733 switch (setparam->param) {
1734 case AMDGPU_SETPARAM_NO_IMPLICIT_SYNC:
1735 if (setparam->value)
1736 WRITE_ONCE(fpriv->vm.no_implicit_sync, true);
1737 else
1738 WRITE_ONCE(fpriv->vm.no_implicit_sync, false);
1739 break;
1740 default:
1741 return -EINVAL;
1742 }
1743
1744 return 0;
1745 }
1746
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org