mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnaud Vrac <avrac@freebox.fr>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Dmitry Baryshkov <dmitry.baryshkov@linaro.org>,
	Marc Gonzalez <mgonzalez@freebox.fr>
Subject: drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:156:19: error: unused function 'pll_cmp_to_fdata'
Date: Sat, 28 Sep 2024 02:52:13 +0800	[thread overview]
Message-ID: <202409280227.wxyNR8Ju-lkp@intel.com> (raw)

Hi Arnaud,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   eee280841e1c8188fe9af5536c193d07d184e874
commit: caedbf17c48dcd9f076aa7157c1bb8ab8082c418 drm/msm: add msm8998 hdmi phy/pll support
date:   4 weeks ago
config: i386-buildonly-randconfig-003-20240928 (https://download.01.org/0day-ci/archive/20240928/202409280227.wxyNR8Ju-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240928/202409280227.wxyNR8Ju-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/202409280227.wxyNR8Ju-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:156:19: error: unused function 'pll_cmp_to_fdata' [-Werror,-Wunused-function]
     156 | static inline u64 pll_cmp_to_fdata(u32 pll_cmp, unsigned long ref_clk)
         |                   ^~~~~~~~~~~~~~~~
   1 error generated.


vim +/pll_cmp_to_fdata +156 drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c

   155	
 > 156	static inline u64 pll_cmp_to_fdata(u32 pll_cmp, unsigned long ref_clk)
   157	{
   158		u64 fdata = ((u64)pll_cmp) * ref_clk * 10;
   159	
   160		do_div(fdata, HDMI_PLL_CMP_CNT);
   161	
   162		return fdata;
   163	}
   164	

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

                 reply	other threads:[~2024-09-27 18:52 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=202409280227.wxyNR8Ju-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=avrac@freebox.fr \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=mgonzalez@freebox.fr \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®