mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Sam Ravnborg <sam@ravnborg.org>
Subject: Re: drivers/gpu/drm/ingenic/ingenic-drm-drv.c:undefined reference to `clk_get_parent'
Date: Tue, 15 Sep 2020 15:20:16 +0200	[thread overview]
Message-ID: <SPBPGQ.UQS754BTO0FA1@crapouillou.net> (raw)
In-Reply-To: <202009091012.ctqRlkdT%lkp@intel.com>

Hi,

Le mer. 9 sept. 2020 à 10:28, kernel test robot <lkp@intel.com> a 
écrit :
> Hi Paul,
> 
> First bad commit (maybe != root cause):
> 
> tree:   
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   34d4ddd359dbcdf6c5fb3f85a179243d7a1cb7f8
> commit: 54fe894219903e32f5154265f46ed1eb5cdc2f5f drm/ingenic: Rename 
> ingenic-drm.c to ingenic-drm-drv.c
> date:   8 weeks ago
> config: mips-randconfig-r022-20200909 (attached as .config)
> compiler: mips-linux-gcc (GCC) 9.3.0
> 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
>         git checkout 54fe894219903e32f5154265f46ed1eb5cdc2f5f
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 
> make.cross ARCH=mips
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    mips-linux-ld: drivers/gpu/drm/ingenic/ingenic-drm-drv.o: in 
> function `ingenic_drm_probe':
>>>  drivers/gpu/drm/ingenic/ingenic-drm-drv.c:(.text+0xc90): undefined 
>>> reference to `clk_get_parent'
>    mips-linux-ld: drivers/mmc/host/mtk-sd.o: in function 
> `msdc_set_mclk':
>    drivers/mmc/host/mtk-sd.c:(.text+0x26fc): undefined reference to 
> `clk_get_parent'
>    mips-linux-ld: drivers/mmc/host/mtk-sd.c:(.text+0x27c0): undefined 
> reference to `clk_get_parent'
> 

clk_get_parent() is either provided if CONFIG_HAVE_CLK, or it's a 
inline dummy in clk.h otherwise. Given it chokes on other drivers too, 
I would say this is a false positive.

-Paul



       reply	other threads:[~2020-09-16  0:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <202009091012.ctqRlkdT%lkp@intel.com>
2020-09-15 13:20 ` Paul Cercueil [this message]
2020-09-18  2:40   ` Rong Chen

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=SPBPGQ.UQS754BTO0FA1@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=sam@ravnborg.org \
    /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®