[linux-next:master 6891/7876] drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c:1007:16: sparse: sparse: symbol 'mdp5_plane_formats' was not declared. Should it be static?

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   a59668a9397e7245b26e9be85d23f242ff757ae8
commit: 6d602db2dd1cc80dda7b19b5c67e960ee7eb6f81 [6891/7876] drm/msm: add arrays listing formats supported by MDP4/MDP5 hardware
config: arc-randconfig-r122-20240424 (https://download.01.org/0day-ci/archive/20240424/202404241522.oFguK9g2-lkp@xxxxxxxxx/config)
compiler: arc-elf-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240424/202404241522.oFguK9g2-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404241522.oFguK9g2-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c:1007:16: sparse: sparse: symbol 'mdp5_plane_formats' was not declared. Should it be static?

vim +/mdp5_plane_formats +1007 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c

  1006	
> 1007	const uint32_t mdp5_plane_formats[] = {
  1008		DRM_FORMAT_ARGB8888,
  1009		DRM_FORMAT_ABGR8888,
  1010		DRM_FORMAT_RGBA8888,
  1011		DRM_FORMAT_BGRA8888,
  1012		DRM_FORMAT_XRGB8888,
  1013		DRM_FORMAT_XBGR8888,
  1014		DRM_FORMAT_RGBX8888,
  1015		DRM_FORMAT_BGRX8888,
  1016		DRM_FORMAT_RGB888,
  1017		DRM_FORMAT_BGR888,
  1018		DRM_FORMAT_RGB565,
  1019		DRM_FORMAT_BGR565,
  1020	
  1021		DRM_FORMAT_NV12,
  1022		DRM_FORMAT_NV21,
  1023		DRM_FORMAT_NV16,
  1024		DRM_FORMAT_NV61,
  1025		DRM_FORMAT_VYUY,
  1026		DRM_FORMAT_UYVY,
  1027		DRM_FORMAT_YUYV,
  1028		DRM_FORMAT_YVYU,
  1029		DRM_FORMAT_YUV420,
  1030		DRM_FORMAT_YVU420,
  1031	};
  1032	

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux