lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <SPBPGQ.UQS754BTO0FA1@crapouillou.net>
Date:   Tue, 15 Sep 2020 15:20:16 +0200
From:   Paul Cercueil <paul@...pouillou.net>
To:     kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Sam Ravnborg <sam@...nborg.org>
Subject: Re: drivers/gpu/drm/ingenic/ingenic-drm-drv.c:undefined reference to
 `clk_get_parent'

Hi,

Le mer. 9 sept. 2020 à 10:28, kernel test robot <lkp@...el.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@...el.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ