public inbox for [email protected]
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: Christophe Leroy <[email protected]>
Cc: [email protected], [email protected],
	GNU/Weeb Mailing List <[email protected]>,
	[email protected],
	Michael Ellerman <[email protected]>
Subject: [ammarfaizi2-block:powerpc/linux/next-test 1/8] arch/powerpc/platforms/powermac/setup.c:324:6: error: no previous prototype for function 'note_scsi_host'
Date: Thu, 23 Jun 2022 11:31:12 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

tree:   https://github.com/ammarfaizi2/linux-block powerpc/linux/next-test
head:   612d6fddf359556217a89c3e42a6c3a6475e2e1d
commit: 113fe88eed53af08800f54a03e463636105831e0 [1/8] powerpc: Don't include asm/setup.h in asm/machdep.h
config: powerpc-g5_defconfig (https://download.01.org/0day-ci/archive/20220623/[email protected]/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8b8d126598ce7bd5243da7f94f69fa1104288bee)
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 powerpc cross compiling tool for clang build
        # apt-get install binutils-powerpc-linux-gnu
        # https://github.com/ammarfaizi2/linux-block/commit/113fe88eed53af08800f54a03e463636105831e0
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block powerpc/linux/next-test
        git checkout 113fe88eed53af08800f54a03e463636105831e0
        # 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=powerpc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

>> arch/powerpc/platforms/powermac/setup.c:324:6: error: no previous prototype for function 'note_scsi_host' [-Werror,-Wmissing-prototypes]
   void note_scsi_host(struct device_node *node, void *host)
        ^
   arch/powerpc/platforms/powermac/setup.c:324:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void note_scsi_host(struct device_node *node, void *host)
   ^
   static 
   1 error generated.


vim +/note_scsi_host +324 arch/powerpc/platforms/powermac/setup.c

14cf11af6cf608 arch/powerpc/platforms/powermac/pmac_setup.c Paul Mackerras 2005-09-26  322  
14cf11af6cf608 arch/powerpc/platforms/powermac/pmac_setup.c Paul Mackerras 2005-09-26  323  #ifdef CONFIG_SCSI
405861a0429113 arch/powerpc/platforms/powermac/setup.c      Li Yang        2007-05-23 @324  void note_scsi_host(struct device_node *node, void *host)
14cf11af6cf608 arch/powerpc/platforms/powermac/pmac_setup.c Paul Mackerras 2005-09-26  325  {
14cf11af6cf608 arch/powerpc/platforms/powermac/pmac_setup.c Paul Mackerras 2005-09-26  326  }
9b6b563c0d2d25 arch/powerpc/platforms/powermac/pmac_setup.c Paul Mackerras 2005-10-06  327  EXPORT_SYMBOL(note_scsi_host);
14cf11af6cf608 arch/powerpc/platforms/powermac/pmac_setup.c Paul Mackerras 2005-09-26  328  #endif
14cf11af6cf608 arch/powerpc/platforms/powermac/pmac_setup.c Paul Mackerras 2005-09-26  329  

:::::: The code at line 324 was first introduced by commit
:::::: 405861a0429113f8e426092af09dd05ec6209410 [POWERPC] Fix Section mismatch warnings

:::::: TO: Li Yang <[email protected]>
:::::: CC: Kumar Gala <[email protected]>

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

                 reply	other threads:[~2022-06-23  3:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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 \
    [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