All of lore.kernel.org
 help / color / mirror / Atom feed
* [chrome-os:chromeos-6.6 169/169] drivers/gpu/drm/mediatek/mtk_dp.c:423:12: warning: function 'mtk_dp_suspend' has internal linkage but is not defined
@ 2025-02-03 20:34 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-03 20:34 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-6.6
head:   c65c7bbfa145ae7df24f5e9b4de74a7fbaaac6c5
commit: 044955e3eece16d9c50e1a693c197e4193399d72 [169/169] CHROMIUM: drm/mediatek: add eDP driver for mt8196
config: x86_64-buildonly-randconfig-001-20250204 (https://download.01.org/0day-ci/archive/20250204/202502040451.qyZQpMPG-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250204/202502040451.qyZQpMPG-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502040451.qyZQpMPG-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/mediatek/mtk_dp.c:423:12: warning: function 'mtk_dp_suspend' has internal linkage but is not defined [-Wundefined-internal]
     423 | static int mtk_dp_suspend(struct device *dev);
         |            ^
   drivers/gpu/drm/mediatek/mtk_dp.c:2986:3: note: used here
    2986 |                 mtk_dp_suspend(dev);
         |                 ^
>> drivers/gpu/drm/mediatek/mtk_dp.c:424:12: warning: function 'mtk_dp_resume' has internal linkage but is not defined [-Wundefined-internal]
     424 | static int mtk_dp_resume(struct device *dev);
         |            ^
   drivers/gpu/drm/mediatek/mtk_dp.c:2989:3: note: used here
    2989 |                 mtk_dp_resume(dev);
         |                 ^
   2 warnings generated.


vim +/mtk_dp_suspend +423 drivers/gpu/drm/mediatek/mtk_dp.c

   415	
   416	static const struct regmap_config mtk_edp_phy_regmap_config = {
   417		.reg_bits = 32,
   418		.val_bits = 32,
   419		.reg_stride = 4,
   420		.max_register = SEC_OFFSET + 0x90,
   421		.name = "mtk-edp-phy-registers",
   422	};
 > 423	static int mtk_dp_suspend(struct device *dev);
 > 424	static int mtk_dp_resume(struct device *dev);
   425	

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

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

only message in thread, other threads:[~2025-02-03 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-03 20:34 [chrome-os:chromeos-6.6 169/169] drivers/gpu/drm/mediatek/mtk_dp.c:423:12: warning: function 'mtk_dp_suspend' has internal linkage but is not defined 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.