Re: [PATCH v2 1/4] drm/vkms: init plane using drmm_universal_plane_alloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Melissa,

I love your patch! Perhaps something to improve:

[auto build test WARNING on next-20210412]
[also build test WARNING on v5.12-rc7]
[cannot apply to linus/master v5.12-rc7 v5.12-rc6 v5.12-rc5]
[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/Melissa-Wen/drm-vkms-add-overlay-plane-support/20210413-065337
base:    5df924d19629975d565da37eb7268c7bf4d491fe
config: csky-randconfig-r025-20210413 (attached as .config)
compiler: csky-linux-gcc (GCC) 9.3.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/0a7d24840b9dbaabf6247f940b4387a120efe9a9
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Melissa-Wen/drm-vkms-add-overlay-plane-support/20210413-065337
        git checkout 0a7d24840b9dbaabf6247f940b4387a120efe9a9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/vkms/vkms_plane.c: In function 'vkms_plane_init':
>> drivers/gpu/drm/vkms/vkms_plane.c:197:39: warning: variable 'funcs' set but not used [-Wunused-but-set-variable]
     197 |  const struct drm_plane_helper_funcs *funcs;
         |                                       ^~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LOCKDEP
   Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
   Selected by
   - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - LOCK_STAT && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT


vim +/funcs +197 drivers/gpu/drm/vkms/vkms_plane.c

42ac03213b7f10 Rodrigo Siqueira 2018-07-12  192  
0a7d24840b9dba Melissa Wen      2021-04-12  193  struct vkms_plane *vkms_plane_init(struct vkms_device *vkmsdev,
e9d85f731de06a Rodrigo Siqueira 2019-06-25  194  				   enum drm_plane_type type, int index)
854502fa0a38dc Rodrigo Siqueira 2018-05-16  195  {
854502fa0a38dc Rodrigo Siqueira 2018-05-16  196  	struct drm_device *dev = &vkmsdev->drm;
c27d931d402b51 Haneen Mohammed  2018-09-06 @197  	const struct drm_plane_helper_funcs *funcs;

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux