From: Krzysztof Kozlowski <krzk@kernel.org>
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 [thread overview]
Message-ID: <20200910123740.GA2353@pi3> (raw)
In-Reply-To: <202009080643.KKq3pWDw%lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1803 bytes --]
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.git 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=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 17132da70eb766785b9b4677bacce18cc11ea442
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
>
> 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 >>):
>
> 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-attribute=format]
> 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 of function 'debug_ll_addr' [-Werror=implicit-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
prev parent reply other threads:[~2020-09-10 12:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-07 22:05 [linux-next:master 1851/4903] drivers/soc/samsung/s3c-pm-debug.c:41:2: error: implicit declaration of function 'debug_ll_addr' kernel test robot
2020-09-10 12:37 ` Krzysztof Kozlowski [this message]
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=20200910123740.GA2353@pi3 \
--to=krzk@kernel.org \
--cc=kbuild-all@lists.01.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 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.