GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <[email protected]>
To: "kernel test robot" <[email protected]>,
	"Qi Zheng" <[email protected]>
Cc: [email protected], [email protected],
	"Ammar Faizi" <[email protected]>,
	"GNU/Weeb Mailing List" <[email protected]>,
	[email protected],
	"Catalin Marinas" <[email protected]>
Subject: Re: [ammarfaizi2-block:arm64/linux/for-next/misc 2/2] arch/arm64/kernel/irq.c:81:6: warning: no previous prototype for function 'do_softirq_own_stack'
Date: Fri, 09 Sep 2022 08:30:37 +0200	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

On Fri, Sep 9, 2022, at 5:12 AM, kernel test robot wrote:
> tree:   https://github.com/ammarfaizi2/linux-block 
> arm64/linux/for-next/misc
> head:   2d2f3bb897a3de4190b1b6b296c3429d01327554
> commit: 2d2f3bb897a3de4190b1b6b296c3429d01327554 [2/2] arm64: run 
> softirqs on the per-CPU IRQ stack
> config: arm64-randconfig-r023-20220907
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 
> 1546df49f5a6d09df78f569e4137ddb365a3e827)
> 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
>         # install arm64 cross compiling tool for clang build
>         # apt-get install binutils-aarch64-linux-gnu
>         # 
> https://github.com/ammarfaizi2/linux-block/commit/2d2f3bb897a3de4190b1b6b296c3429d01327554
>         git remote add ammarfaizi2-block 
> https://github.com/ammarfaizi2/linux-block
>         git fetch --no-tags ammarfaizi2-block arm64/linux/for-next/misc
>         git checkout 2d2f3bb897a3de4190b1b6b296c3429d01327554
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 
> O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <[email protected]>
>
> All warnings (new ones prefixed by >>):
>
>>> arch/arm64/kernel/irq.c:81:6: warning: no previous prototype for function 'do_softirq_own_stack' [-Wmissing-prototypes]
>    void do_softirq_own_stack(void)
>         ^
>    arch/arm64/kernel/irq.c:81:1: note: declare 'static' if the function 
> is not intended to be used outside of this translation unit
>    void do_softirq_own_stack(void)
>    ^
>    static 


I think we are missing an "#include <asm/softirq_stack.h>"
in arch/arm64/kernel/irq.c

       Arnd

  reply	other threads:[~2022-09-09  6:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09  3:12 [ammarfaizi2-block:arm64/linux/for-next/misc 2/2] arch/arm64/kernel/irq.c:81:6: warning: no previous prototype for function 'do_softirq_own_stack' kernel test robot
2022-09-09  6:30 ` Arnd Bergmann [this message]
2022-09-09  7:07   ` Qi Zheng
2022-09-09  7:35     ` Arnd Bergmann
2022-09-09  7:38       ` Qi Zheng
2022-09-09 18:00     ` Catalin Marinas
2022-09-10  7:50       ` Qi Zheng

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=a37a1b71-e7b4-4b7a-9aec-a9ce64d13d84@www.fastmail.com \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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