All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Smart <james.smart@broadcom.com>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	Linux Memory Management List <linux-mm@kvack.org>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Dick Kennedy <dick.kennedy@broadcom.com>
Subject: Re: [linux-next:master 5896/7280] drivers/scsi/lpfc/lpfc_nvmet.c:3340:1: warning: no previous prototype for function 'lpfc_nvmet_prep_abort_wqe'
Date: Fri, 20 Nov 2020 10:56:04 -0800	[thread overview]
Message-ID: <e98069a2-b522-f342-0fd6-b90449f68a78@broadcom.com> (raw)
In-Reply-To: <202011201855.c4QQSuWu-lkp@intel.com>

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



On 11/20/2020 2:26 AM, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   95065cb54210eba86bed10cb2118041524d54573
> commit: db7531d2b3775c662466e4eeda774986472c6d18 [5896/7280] scsi: lpfc: Convert abort handling to SLI-3 and SLI-4 handlers
> config: x86_64-randconfig-a011-20201120 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 3ded927cf80ac519f9f9c4664fef08787f7c537d)
> 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 x86_64 cross compiling tool for clang build
>          # apt-get install binutils-x86-64-linux-gnu
>          # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=db7531d2b3775c662466e4eeda774986472c6d18
>          git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>          git fetch --no-tags linux-next master
>          git checkout db7531d2b3775c662466e4eeda774986472c6d18
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
>
> 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 >>):
>
>>> drivers/scsi/lpfc/lpfc_nvmet.c:3340:1: warning: no previous prototype for function 'lpfc_nvmet_prep_abort_wqe' [-Wmissing-prototypes]
>     lpfc_nvmet_prep_abort_wqe(struct lpfc_iocbq *pwqeq, u16 xritag, u8 opt)
>     ^
>     drivers/scsi/lpfc/lpfc_nvmet.c:3339:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>     void
>     ^
>     static
>     1 warning generated.
>
> vim +/lpfc_nvmet_prep_abort_wqe +3340 drivers/scsi/lpfc/lpfc_nvmet.c
>
Fixed by  185d17e11e7f  scsi: lpfc: Fix missing prototype for 
lpfc_nvmet_prep_abort_wqe()

checked in yesterday....

-- james


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4163 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: James Smart <james.smart@broadcom.com>
To: kbuild-all@lists.01.org
Subject: Re: [linux-next:master 5896/7280] drivers/scsi/lpfc/lpfc_nvmet.c:3340:1: warning: no previous prototype for function 'lpfc_nvmet_prep_abort_wqe'
Date: Fri, 20 Nov 2020 10:56:04 -0800	[thread overview]
Message-ID: <e98069a2-b522-f342-0fd6-b90449f68a78@broadcom.com> (raw)
In-Reply-To: <202011201855.c4QQSuWu-lkp@intel.com>

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



On 11/20/2020 2:26 AM, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   95065cb54210eba86bed10cb2118041524d54573
> commit: db7531d2b3775c662466e4eeda774986472c6d18 [5896/7280] scsi: lpfc: Convert abort handling to SLI-3 and SLI-4 handlers
> config: x86_64-randconfig-a011-20201120 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 3ded927cf80ac519f9f9c4664fef08787f7c537d)
> 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 x86_64 cross compiling tool for clang build
>          # apt-get install binutils-x86-64-linux-gnu
>          # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=db7531d2b3775c662466e4eeda774986472c6d18
>          git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>          git fetch --no-tags linux-next master
>          git checkout db7531d2b3775c662466e4eeda774986472c6d18
>          # save the attached .config to linux build tree
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
>
> 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 >>):
>
>>> drivers/scsi/lpfc/lpfc_nvmet.c:3340:1: warning: no previous prototype for function 'lpfc_nvmet_prep_abort_wqe' [-Wmissing-prototypes]
>     lpfc_nvmet_prep_abort_wqe(struct lpfc_iocbq *pwqeq, u16 xritag, u8 opt)
>     ^
>     drivers/scsi/lpfc/lpfc_nvmet.c:3339:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
>     void
>     ^
>     static
>     1 warning generated.
>
> vim +/lpfc_nvmet_prep_abort_wqe +3340 drivers/scsi/lpfc/lpfc_nvmet.c
>
Fixed by  185d17e11e7f  scsi: lpfc: Fix missing prototype for 
lpfc_nvmet_prep_abort_wqe()

checked in yesterday....

-- james


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4163 bytes --]

  reply	other threads:[~2020-11-20 18:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-20 10:26 [linux-next:master 5896/7280] drivers/scsi/lpfc/lpfc_nvmet.c:3340:1: warning: no previous prototype for function 'lpfc_nvmet_prep_abort_wqe' kernel test robot
2020-11-20 10:26 ` kernel test robot
2020-11-20 18:56 ` James Smart [this message]
2020-11-20 18:56   ` James Smart

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=e98069a2-b522-f342-0fd6-b90449f68a78@broadcom.com \
    --to=james.smart@broadcom.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=dick.kennedy@broadcom.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=martin.petersen@oracle.com \
    /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.