From: kernel test robot <lkp@intel.com>
To: Nilesh Javali <njavali@marvell.com>, martin.petersen@oracle.com
Cc: kbuild-all@lists.01.org, linux-scsi@vger.kernel.org,
GR-QLogic-Storage-Upstream@marvell.com
Subject: Re: [PATCH 1/2] scsi: fc: Update statistics for host and rport on FPIN reception.
Date: Fri, 1 Oct 2021 09:37:48 +0800 [thread overview]
Message-ID: <202110010926.tZM7VbP2-lkp@intel.com> (raw)
In-Reply-To: <20200730061116.20111-2-njavali@marvell.com>
[-- Attachment #1: Type: text/plain, Size: 2587 bytes --]
Hi Nilesh,
I love your patch! Perhaps something to improve:
[auto build test WARNING on 3c330f187ea84b13a0c66311115c8fd449dd25a1]
url: https://github.com/0day-ci/linux/commits/Nilesh-Javali/SAN-Congestion-Management-SCM-statistics/20210929-162329
base: 3c330f187ea84b13a0c66311115c8fd449dd25a1
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/f4af1bddbc082f1719040fce0d592feeb4db84a6
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Nilesh-Javali/SAN-Congestion-Management-SCM-statistics/20210929-162329
git checkout f4af1bddbc082f1719040fce0d592feeb4db84a6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc
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/scsi_transport_fc.c:645:1: warning: no previous prototype for 'fc_find_rport_by_wwpn' [-Wmissing-prototypes]
645 | fc_find_rport_by_wwpn(struct Scsi_Host *shost, u64 wwpn)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/fc_find_rport_by_wwpn +645 drivers/scsi/scsi_transport_fc.c
635
636 /**
637 * fc_find_rport_by_wwpn - find the fc_rport pointer for a given wwpn
638 * @shost: host the fc_rport is associated with
639 * @wwpn: wwpn of the fc_rport device
640 *
641 * Notes:
642 * This routine assumes no locks are held on entry.
643 */
644 struct fc_rport *
> 645 fc_find_rport_by_wwpn(struct Scsi_Host *shost, u64 wwpn)
646 {
647 struct fc_rport *rport, *found = NULL;
648 unsigned long flags;
649
650 spin_lock_irqsave(shost->host_lock, flags);
651
652 list_for_each_entry(rport, &fc_host_rports(shost), peers) {
653 if (rport->scsi_target_id == -1)
654 continue;
655
656 if (rport->port_state != FC_PORTSTATE_ONLINE)
657 continue;
658
659 if (rport->port_name == wwpn)
660 found = rport;
661 }
662
663 spin_unlock_irqrestore(shost->host_lock, flags);
664 return found;
665 }
666 EXPORT_SYMBOL(fc_find_rport_by_wwpn);
667
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 69728 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 1/2] scsi: fc: Update statistics for host and rport on FPIN reception.
Date: Fri, 01 Oct 2021 09:37:48 +0800 [thread overview]
Message-ID: <202110010926.tZM7VbP2-lkp@intel.com> (raw)
In-Reply-To: <20200730061116.20111-2-njavali@marvell.com>
[-- Attachment #1: Type: text/plain, Size: 2658 bytes --]
Hi Nilesh,
I love your patch! Perhaps something to improve:
[auto build test WARNING on 3c330f187ea84b13a0c66311115c8fd449dd25a1]
url: https://github.com/0day-ci/linux/commits/Nilesh-Javali/SAN-Congestion-Management-SCM-statistics/20210929-162329
base: 3c330f187ea84b13a0c66311115c8fd449dd25a1
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.0
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
# https://github.com/0day-ci/linux/commit/f4af1bddbc082f1719040fce0d592feeb4db84a6
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Nilesh-Javali/SAN-Congestion-Management-SCM-statistics/20210929-162329
git checkout f4af1bddbc082f1719040fce0d592feeb4db84a6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=powerpc
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/scsi_transport_fc.c:645:1: warning: no previous prototype for 'fc_find_rport_by_wwpn' [-Wmissing-prototypes]
645 | fc_find_rport_by_wwpn(struct Scsi_Host *shost, u64 wwpn)
| ^~~~~~~~~~~~~~~~~~~~~
vim +/fc_find_rport_by_wwpn +645 drivers/scsi/scsi_transport_fc.c
635
636 /**
637 * fc_find_rport_by_wwpn - find the fc_rport pointer for a given wwpn
638 * @shost: host the fc_rport is associated with
639 * @wwpn: wwpn of the fc_rport device
640 *
641 * Notes:
642 * This routine assumes no locks are held on entry.
643 */
644 struct fc_rport *
> 645 fc_find_rport_by_wwpn(struct Scsi_Host *shost, u64 wwpn)
646 {
647 struct fc_rport *rport, *found = NULL;
648 unsigned long flags;
649
650 spin_lock_irqsave(shost->host_lock, flags);
651
652 list_for_each_entry(rport, &fc_host_rports(shost), peers) {
653 if (rport->scsi_target_id == -1)
654 continue;
655
656 if (rport->port_state != FC_PORTSTATE_ONLINE)
657 continue;
658
659 if (rport->port_name == wwpn)
660 found = rport;
661 }
662
663 spin_unlock_irqrestore(shost->host_lock, flags);
664 return found;
665 }
666 EXPORT_SYMBOL(fc_find_rport_by_wwpn);
667
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 69728 bytes --]
next prev parent reply other threads:[~2021-10-01 1:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-30 6:11 [PATCH 0/2] SAN Congestion Management (SCM) statistics Nilesh Javali
2020-07-30 6:11 ` [PATCH 1/2] scsi: fc: Update statistics for host and rport on FPIN reception Nilesh Javali
2020-09-09 13:51 ` Himanshu Madhani
2020-09-23 0:01 ` James Smart
2020-09-28 20:07 ` Shyam Sundar
2020-09-29 21:33 ` James Smart
2020-09-30 20:55 ` [EXT] " Shyam Sundar
2021-10-01 1:37 ` kernel test robot [this message]
2021-10-01 1:37 ` kernel test robot
2020-07-30 6:11 ` [PATCH 2/2] scsi: fc: Update documentation of sysfs nodes for FPIN stats Nilesh Javali
2020-09-09 13:51 ` Himanshu Madhani
2020-09-23 0:15 ` James Smart
2020-09-07 10:44 ` [PATCH 0/2] SAN Congestion Management (SCM) statistics Nilesh Javali
2020-09-09 2:57 ` Martin K. Petersen
2020-09-17 16:53 ` [EXT] " Nilesh Javali
2020-09-23 8:38 ` Hannes Reinecke
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=202110010926.tZM7VbP2-lkp@intel.com \
--to=lkp@intel.com \
--cc=GR-QLogic-Storage-Upstream@marvell.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=njavali@marvell.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.