All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:5.15-bpi-r2-pro-drm2 83/90] drivers/gpu/drm/rockchip/rockchip_drm_vop.c:306:46: warning: unused variable 'drm_bus_format_enum_list'
@ 2021-10-27  3:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-27  3:33 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/frank-w/BPI-R2-4.14 5.15-bpi-r2-pro-drm2
head:   28cc1853049ee81c1aa4feea35f3772876d9622d
commit: 35d71ccec6a34a9f88932cfa7ed32034e6402bb7 [83/90] drm: forward port of VOP2 driver
config: arm64-randconfig-r035-20211027 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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
        # install arm64 cross compiling tool for clang build
        # apt-get install binutils-aarch64-linux-gnu
        # https://github.com/frank-w/BPI-R2-4.14/commit/35d71ccec6a34a9f88932cfa7ed32034e6402bb7
        git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14
        git fetch --no-tags frank-w-bpi-r2-4.14 5.15-bpi-r2-pro-drm2
        git checkout 35d71ccec6a34a9f88932cfa7ed32034e6402bb7
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64 

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/gpu/drm/rockchip/rockchip_drm_vop.c:306:46: warning: unused variable 'drm_bus_format_enum_list' [-Wunused-const-variable]
   static const struct drm_bus_format_enum_list drm_bus_format_enum_list[] = {
                                                ^
   drivers/gpu/drm/rockchip/rockchip_drm_vop.c:546:24: warning: unused function 'vop_read_lut' [-Wunused-function]
   static inline uint32_t vop_read_lut(struct vop *vop, uint32_t offset)
                          ^
   2 warnings generated.


vim +/drm_bus_format_enum_list +306 drivers/gpu/drm/rockchip/rockchip_drm_vop.c

   305	
 > 306	static const struct drm_bus_format_enum_list drm_bus_format_enum_list[] = {
   307		{ DRM_MODE_CONNECTOR_Unknown, "Unknown" },
   308		{ MEDIA_BUS_FMT_RGB565_1X16, "RGB565_1X16" },
   309		{ MEDIA_BUS_FMT_RGB666_1X18, "RGB666_1X18" },
   310		{ MEDIA_BUS_FMT_RGB666_1X24_CPADHI, "RGB666_1X24_CPADHI" },
   311		{ MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, "RGB666_1X7X3_SPWG" },
   312		{ MEDIA_BUS_FMT_YUV8_1X24, "YUV8_1X24" },
   313		{ MEDIA_BUS_FMT_UYYVYY8_0_5X24, "UYYVYY8_0_5X24" },
   314		{ MEDIA_BUS_FMT_YUV10_1X30, "YUV10_1X30" },
   315		{ MEDIA_BUS_FMT_UYYVYY10_0_5X30, "UYYVYY10_0_5X30" },
   316		{ MEDIA_BUS_FMT_RGB888_1X24, "RGB888_1X24" },
   317		{ MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, "RGB888_1X7X4_SPWG" },
   318		{ MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA, "RGB888_1X7X4_JEIDA" },
   319	};
   320	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 46418 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-27  3:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27  3:33 [frank-w-bpi-r2-4.14:5.15-bpi-r2-pro-drm2 83/90] drivers/gpu/drm/rockchip/rockchip_drm_vop.c:306:46: warning: unused variable 'drm_bus_format_enum_list' kernel test robot

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.