Hi "José,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.16-rc6 next-20211224]
[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/Jos-Exp-sito/drm-vkms-zpos/20211226-191434
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: arc-randconfig-r043-20211226 
(https://download.01.org/0day-ci/archive/20211226/[email protected]/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/48c96494b71972f4bf1769682e94e59724dba874
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
Jos-Exp-sito/drm-vkms-zpos/20211226-191434
        git checkout 48c96494b71972f4bf1769682e94e59724dba874
        # 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/gpu/drm/vkms/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   drivers/gpu/drm/vkms/vkms_plane.c: In function 
'vkms_plane_create_zpos_property':
>> drivers/gpu/drm/vkms/vkms_plane.c:170:57: error: 'NUM_OVERLAY_PLANES' 
>> undeclared (first use in this function)
     170 |                                                      1, 
NUM_OVERLAY_PLANES);
         |                                                         
^~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/vkms/vkms_plane.c:170:57: note: each undeclared identifier 
is reported only once for each function it appears in


vim +/NUM_OVERLAY_PLANES +170 drivers/gpu/drm/vkms/vkms_plane.c

   162  
   163  static int vkms_plane_create_zpos_property(struct vkms_plane *plane)
   164  {
   165          int ret;
   166          unsigned int zpos = drm_plane_index(&plane->base);
   167  
   168          if (plane->base.type == DRM_PLANE_TYPE_OVERLAY) {
   169                  ret = drm_plane_create_zpos_property(&plane->base, zpos,
 > 170                                                       1, 
 > NUM_OVERLAY_PLANES);
   171          } else {
   172                  ret = 
drm_plane_create_zpos_immutable_property(&plane->base,
   173                                                                 zpos);
   174          }
   175  
   176          return ret;
   177  }
   178  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Reply via email to