From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2769576158865857350==" MIME-Version: 1.0 From: Krzysztof Kozlowski To: kbuild-all@lists.01.org Subject: Re: [linux-next:master 1851/4903] drivers/soc/samsung/s3c-pm-debug.c:41:2: error: implicit declaration of function 'debug_ll_addr' Date: Thu, 10 Sep 2020 14:37:40 +0200 Message-ID: <20200910123740.GA2353@pi3> In-Reply-To: <202009080643.KKq3pWDw%lkp@intel.com> List-Id: --===============2769576158865857350== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Tue, Sep 08, 2020 at 06:05:59AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.g= it master > head: 7a6956579ce6950890ea706f6fcf7874a7981f50 > commit: 17132da70eb766785b9b4677bacce18cc11ea442 [1851/4903] ARM: samsung= : move pm check code to drivers/soc > config: arm-randconfig-r001-20200908 (attached as .config) > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > reproduce (this is a W=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 17132da70eb766785b9b4677bacce18cc11ea442 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cros= s ARCH=3Darm = > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > All errors (new ones prefixed by >>): > = > drivers/soc/samsung/s3c-pm-debug.c: In function 's3c_pm_dbg': > drivers/soc/samsung/s3c-pm-debug.c:30:2: warning: function 's3c_pm_dbg= ' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribu= te=3Dformat] > 30 | vsnprintf(buff, sizeof(buff), fmt, va); > | ^~~~~~~~~ > drivers/soc/samsung/s3c-pm-debug.c: In function 's3c_pm_uart_base': > >> drivers/soc/samsung/s3c-pm-debug.c:41:2: error: implicit declaration o= f function 'debug_ll_addr' [-Werror=3Dimplicit-function-declaration] > 41 | debug_ll_addr(&paddr, &vaddr); > | ^~~~~~~~~~~~~ > cc1: some warnings being treated as errors The error is there also on v5.9-rc1. It comes from missing dependency on MMU by either SAMSUNG_PM_DEBUG or by DEBUG_LL. I'll send a fix. Best regards, Krzysztof --===============2769576158865857350==--