[tobetter:odroid-7.2.y 58/58] drivers/gpu/drm/panel/panel-sitronix-st7701.c:545:13: warning: 'odroid_vu5s_gip_sequence' defined but not used

kernel test robot <[email protected]> Fri, 31 Jul 2026 15:39:20 +0800
Newsgroups dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://github.com/tobetter/linux odroid-7.2.y
head:   b975acfb39259020dffed242fcfba388a6f4e354
commit: 1c377b8dc7ac08dc586a6ea6a35ba698d1294241 [58/58] ODROID-M1/M1S: gpu/drm: add ODROID-Vu5S panel to ST7701 driver
config: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20260731/[email protected]/config)
compiler: alpha-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260731/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-sitronix-st7701.c:545:13: warning: 'odroid_vu5s_gip_sequence' defined but not used [-Wunused-function]
     545 | static void odroid_vu5s_gip_sequence(struct st7701 *st7701)
         |             ^~~~~~~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for COMMON_CLK_AXG_AUDIO
   Depends on [n]: COMMON_CLK [=y] && (ARCH_MESON || COMPILE_TEST [=y]) && ARM64
   Selected by [m]:
   - SND_MESON_AXG_FIFO [=m] && SOUND [=m] && SND [=m] && SND_SOC [=m] && (ARCH_MESON || COMPILE_TEST [=y] && COMMON_CLK [=y])


vim +/odroid_vu5s_gip_sequence +545 drivers/gpu/drm/panel/panel-sitronix-st7701.c

   544	
 > 545	static void odroid_vu5s_gip_sequence(struct st7701 *st7701)
   546	{
   547		ST7701_WRITE(st7701, 0xE0, 0x00, 0x00, 0x02);
   548		ST7701_WRITE(st7701, 0xE1, 0x08, 0x00, 0x0A, 0x00, 0x07,
   549				0x00, 0x09, 0x00, 0x00, 0x33, 0x33);
   550		ST7701_WRITE(st7701, 0xE2, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   551				0x00, 0x00, 0x00, 0x00, 0x00);
   552		ST7701_WRITE(st7701, 0xE3, 0x00, 0x00, 0x33, 0x33);
   553		ST7701_WRITE(st7701, 0xE4, 0x44, 0x44);
   554		ST7701_WRITE(st7701, 0xE5, 0x0E, 0x60, 0xA0, 0xA0, 0x10, 0x60, 0xA0, 0xA0,
   555				0x0A, 0x60, 0xA0, 0xA0, 0x0C, 0x60, 0xA0, 0xA0);
   556		ST7701_WRITE(st7701, 0xE6, 0x00, 0x00, 0x33, 0x33);
   557		ST7701_WRITE(st7701, 0xE7, 0x44, 0x44);
   558		ST7701_WRITE(st7701, 0xE8, 0x0D, 0x60, 0xA0, 0xA0, 0x0F, 0x60, 0xA0, 0xA0,
   559				0x09, 0x60, 0xA0, 0xA0, 0x0B, 0x60, 0xA0, 0xA0);
   560		ST7701_WRITE(st7701, 0xEB, 0x02, 0x01, 0xE4, 0xE4, 0x44, 0x00, 0x40);
   561		ST7701_WRITE(st7701, 0xEC, 0x02, 0x01);
   562		ST7701_WRITE(st7701, 0xED, 0xAB, 0x89, 0x76, 0x54, 0x01, 0xFF, 0xFF, 0xFF,
   563				0xFF, 0xFF, 0xFF, 0x10, 0x45, 0x67, 0x98, 0xBA);
   564	
   565		ST7701_WRITE(st7701, 0xCC, 0x10);
   566		ST7701_WRITE(st7701, 0xB9, 0x10);
   567	
   568		ST7701_WRITE(st7701, 0x3A, 0x70);
   569		ST7701_WRITE(st7701, 0x53, 0xEC);
   570		ST7701_WRITE(st7701, 0x55, 0xB3);
   571		ST7701_WRITE(st7701, 0x5E, 0xFF);
   572	}
   573	

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