All of lore.kernel.org
 help / color / mirror / Atom feed
* [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq'
@ 2021-12-01  3:42 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-12-01  3:42 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: llvm, kbuild-all, linux-kernel, Ard Biesheuvel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head:   6999340fcf7f37e2a82eb35452b08c5893a2872d
commit: 9a2235df531e427be5777a894b3fa355ce127894 [18/28] ARM: footbridge: use GENERIC_IRQ_MULTI_HANDLER
config: arm-randconfig-r001-20211130 (https://download.01.org/0day-ci/archive/20211201/202112011148.XrnWip5a-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 25eb7fa01d7ebbe67648ea03841cda55b4239ab2)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=9a2235df531e427be5777a894b3fa355ce127894
        git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
        git fetch --no-tags ardb for-kernelci
        git checkout 9a2235df531e427be5777a894b3fa355ce127894
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq' [-Wmissing-prototypes]
   void dc21285_handle_irq(struct pt_regs *regs)
        ^
   arch/arm/mach-footbridge/common.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void dc21285_handle_irq(struct pt_regs *regs)
   ^
   static 
   1 warning generated.


vim +/dc21285_handle_irq +102 arch/arm/mach-footbridge/common.c

   101	
 > 102	void dc21285_handle_irq(struct pt_regs *regs)
   103	{
   104		int irq;
   105		do {
   106			irq = dc21285_get_irq();
   107			if (!irq)
   108				break;
   109	
   110			generic_handle_irq(irq);
   111		} while (1);
   112	}
   113	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq'
@ 2021-12-01  3:42 ` kernel test robot
  0 siblings, 0 replies; 6+ messages in thread
From: kernel test robot @ 2021-12-01  3:42 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2327 bytes --]

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head:   6999340fcf7f37e2a82eb35452b08c5893a2872d
commit: 9a2235df531e427be5777a894b3fa355ce127894 [18/28] ARM: footbridge: use GENERIC_IRQ_MULTI_HANDLER
config: arm-randconfig-r001-20211130 (https://download.01.org/0day-ci/archive/20211201/202112011148.XrnWip5a-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 25eb7fa01d7ebbe67648ea03841cda55b4239ab2)
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 arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=9a2235df531e427be5777a894b3fa355ce127894
        git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
        git fetch --no-tags ardb for-kernelci
        git checkout 9a2235df531e427be5777a894b3fa355ce127894
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq' [-Wmissing-prototypes]
   void dc21285_handle_irq(struct pt_regs *regs)
        ^
   arch/arm/mach-footbridge/common.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void dc21285_handle_irq(struct pt_regs *regs)
   ^
   static 
   1 warning generated.


vim +/dc21285_handle_irq +102 arch/arm/mach-footbridge/common.c

   101	
 > 102	void dc21285_handle_irq(struct pt_regs *regs)
   103	{
   104		int irq;
   105		do {
   106			irq = dc21285_get_irq();
   107			if (!irq)
   108				break;
   109	
   110			generic_handle_irq(irq);
   111		} while (1);
   112	}
   113	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq'
  2021-12-01  3:42 ` kernel test robot
@ 2021-12-01  7:39   ` Arnd Bergmann
  -1 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2021-12-01  7:39 UTC (permalink / raw)
  To: kernel test robot
  Cc: Arnd Bergmann, llvm, kbuild-all, Linux Kernel Mailing List,
	Ard Biesheuvel

On Wed, Dec 1, 2021 at 4:42 AM kernel test robot <lkp@intel.com> wrote:
>
>    arch/arm/mach-footbridge/common.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit

Correct, thanks for the report!

Ard, I assume you can fix this up in your tree.

         Arnd

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq'
@ 2021-12-01  7:39   ` Arnd Bergmann
  0 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2021-12-01  7:39 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

On Wed, Dec 1, 2021 at 4:42 AM kernel test robot <lkp@intel.com> wrote:
>
>    arch/arm/mach-footbridge/common.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit

Correct, thanks for the report!

Ard, I assume you can fix this up in your tree.

         Arnd

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq'
  2021-12-01  7:39   ` Arnd Bergmann
@ 2021-12-01 11:13     ` Ard Biesheuvel
  -1 siblings, 0 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2021-12-01 11:13 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: kernel test robot, llvm, kbuild-all, Linux Kernel Mailing List

On Wed, 1 Dec 2021 at 08:44, Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Wed, Dec 1, 2021 at 4:42 AM kernel test robot <lkp@intel.com> wrote:
> >
> >    arch/arm/mach-footbridge/common.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>
> Correct, thanks for the report!
>
> Ard, I assume you can fix this up in your tree.
>

Sure.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq'
@ 2021-12-01 11:13     ` Ard Biesheuvel
  0 siblings, 0 replies; 6+ messages in thread
From: Ard Biesheuvel @ 2021-12-01 11:13 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 400 bytes --]

On Wed, 1 Dec 2021 at 08:44, Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Wed, Dec 1, 2021 at 4:42 AM kernel test robot <lkp@intel.com> wrote:
> >
> >    arch/arm/mach-footbridge/common.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>
> Correct, thanks for the report!
>
> Ard, I assume you can fix this up in your tree.
>

Sure.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-01 11:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01  3:42 [ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for function 'dc21285_handle_irq' kernel test robot
2021-12-01  3:42 ` kernel test robot
2021-12-01  7:39 ` Arnd Bergmann
2021-12-01  7:39   ` Arnd Bergmann
2021-12-01 11:13   ` Ard Biesheuvel
2021-12-01 11:13     ` Ard Biesheuvel

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.