All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org, arm@kernel.org
Subject: [soc:multiplatform-misc-5.18 12/13] arch/arm/mach-orion/board-d2net.c:102:13: warning: no previous prototype for function 'd2net_init'
Date: Tue, 5 Apr 2022 20:19:14 +0800	[thread overview]
Message-ID: <202204052037.UnjBcCI3-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git multiplatform-misc-5.18
head:   a2677c00b0f03b8cad961f785941ca257f454df3
commit: 4e61a655e496f6225a146264a3dbc94c790870a6 [12/13] ARM: orion/mv78xx0/dove: move to a common directory
config: arm-mvebu_v5_defconfig (https://download.01.org/0day-ci/archive/20220405/202204052037.UnjBcCI3-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566)
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/soc/soc.git/commit/?id=4e61a655e496f6225a146264a3dbc94c790870a6
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc multiplatform-misc-5.18
        git checkout 4e61a655e496f6225a146264a3dbc94c790870a6
        # 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-orion/board-d2net.c:102:13: warning: no previous prototype for function 'd2net_init' [-Wmissing-prototypes]
   void __init d2net_init(void)
               ^
   arch/arm/mach-orion/board-d2net.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init d2net_init(void)
   ^
   static 
   1 warning generated.


vim +/d2net_init +102 arch/arm/mach-orion/board-d2net.c

94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   97  
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   98  /*****************************************************************************
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   99   * General Setup
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22  100   ****************************************************************************/
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22  101  
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22 @102  void __init d2net_init(void)

:::::: The code at line 102 was first introduced by commit
:::::: 94b0bd366e36379c994bdaa84f18355702212eb4 ARM: orion5x: convert d2net to Device Tree

:::::: TO: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
:::::: CC: Jason Cooper <jason@lakedaemon.net>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-arm-kernel@lists.infradead.org, arm@kernel.org
Subject: [soc:multiplatform-misc-5.18 12/13] arch/arm/mach-orion/board-d2net.c:102:13: warning: no previous prototype for function 'd2net_init'
Date: Tue, 5 Apr 2022 20:19:14 +0800	[thread overview]
Message-ID: <202204052037.UnjBcCI3-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git multiplatform-misc-5.18
head:   a2677c00b0f03b8cad961f785941ca257f454df3
commit: 4e61a655e496f6225a146264a3dbc94c790870a6 [12/13] ARM: orion/mv78xx0/dove: move to a common directory
config: arm-mvebu_v5_defconfig (https://download.01.org/0day-ci/archive/20220405/202204052037.UnjBcCI3-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c4a1b07d0979e7ff20d7d541af666d822d66b566)
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/soc/soc.git/commit/?id=4e61a655e496f6225a146264a3dbc94c790870a6
        git remote add soc https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
        git fetch --no-tags soc multiplatform-misc-5.18
        git checkout 4e61a655e496f6225a146264a3dbc94c790870a6
        # 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-orion/board-d2net.c:102:13: warning: no previous prototype for function 'd2net_init' [-Wmissing-prototypes]
   void __init d2net_init(void)
               ^
   arch/arm/mach-orion/board-d2net.c:102:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __init d2net_init(void)
   ^
   static 
   1 warning generated.


vim +/d2net_init +102 arch/arm/mach-orion/board-d2net.c

94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   97  
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   98  /*****************************************************************************
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22   99   * General Setup
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22  100   ****************************************************************************/
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22  101  
94b0bd366e3637 arch/arm/mach-orion5x/board-d2net.c Thomas Petazzoni 2014-04-22 @102  void __init d2net_init(void)

:::::: The code at line 102 was first introduced by commit
:::::: 94b0bd366e36379c994bdaa84f18355702212eb4 ARM: orion5x: convert d2net to Device Tree

:::::: TO: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
:::::: CC: Jason Cooper <jason@lakedaemon.net>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2022-04-05 12:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 12:19 kernel test robot [this message]
2022-04-05 12:19 ` [soc:multiplatform-misc-5.18 12/13] arch/arm/mach-orion/board-d2net.c:102:13: warning: no previous prototype for function 'd2net_init' kernel test robot

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=202204052037.UnjBcCI3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=arm@kernel.org \
    --cc=arnd@arndb.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=llvm@lists.linux.dev \
    /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.