All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Tue, 4 Feb 2025 04:34:31 +0800	[thread overview]
Message-ID: <202502040451.qyZQpMPG-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-02-03 20:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202502040451.qyZQpMPG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=cros-kernel-buildreports@googlegroups.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.