From: kernel test robot <lkp@intel.com>
To: Chandrakanth Patil <chandrakanth.patil@broadcom.com>,
linux-scsi@vger.kernel.org
Cc: kbuild-all@lists.01.org, kashyap.desai@broadcom.com,
sumit.saxena@broadcom.com, kiran-kumar.kasturi@broadcom.com,
sankar.patra@broadcom.com, sasikumar.pc@broadcom.com,
shivasharan.srikanteshwara@broadcom.com,
anand.lodnoor@broadcom.com,
Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Subject: Re: [PATCH 3/5] megaraid_sas: Early detection of VD deletion through RaidMap update
Date: Thu, 18 Mar 2021 04:55:09 +0800 [thread overview]
Message-ID: <202103180424.C5789r68-lkp@intel.com> (raw)
In-Reply-To: <20210317190824.3050-4-chandrakanth.patil@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 3071 bytes --]
Hi Chandrakanth,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v5.12-rc3]
[cannot apply to mkp-scsi/for-next scsi/for-next next-20210317]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Chandrakanth-Patil/megaraid_sas-Update-driver-version-to-07-717-01-00-rc1/20210318-031205
base: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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/dadb835ed01309bcd9a8d51a01ad4467dc71aea6
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chandrakanth-Patil/megaraid_sas-Update-driver-version-to-07-717-01-00-rc1/20210318-031205
git checkout dadb835ed01309bcd9a8d51a01ad4467dc71aea6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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/megaraid/megaraid_sas_base.c:3502:1: warning: no previous prototype for 'megasas_set_sdev_removed_by_fw' [-Wmissing-prototypes]
3502 | megasas_set_sdev_removed_by_fw(struct megasas_instance *instance)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/megasas_set_sdev_removed_by_fw +3502 drivers/scsi/megaraid/megaraid_sas_base.c
3500
3501 void
> 3502 megasas_set_sdev_removed_by_fw(struct megasas_instance *instance)
3503 {
3504 struct scsi_device *sdev;
3505 struct MR_PRIV_DEVICE *mr_device_priv_data;
3506 uint channel, id, i;
3507
3508 for (i = 0; (i < MEGASAS_MAX_LD_IDS); i++) {
3509 if (instance->ld_ids_prev[i] != 0xff &&
3510 instance->ld_ids_from_raidmap[i] == 0xff) {
3511 channel = MEGASAS_MAX_PD_CHANNELS +
3512 (instance->ld_ids_prev[i] /
3513 MEGASAS_MAX_DEV_PER_CHANNEL);
3514 id = (instance->ld_ids_prev[i] %
3515 MEGASAS_MAX_DEV_PER_CHANNEL);
3516
3517 if (megasas_dbg_lvl & LD_PD_DEBUG)
3518 dev_info(&instance->pdev->dev,
3519 "index %d old 0x%x new 0x%x from %s\n",
3520 i, instance->ld_ids_prev[i],
3521 instance->ld_ids_from_raidmap[i],
3522 __func__);
3523
3524 sdev = scsi_device_lookup(instance->host, channel, id, 0);
3525 if (sdev) {
3526 mr_device_priv_data = sdev->hostdata;
3527 mr_device_priv_data->device_removed_by_fw = true;
3528 scsi_device_put(sdev);
3529 }
3530 }
3531 }
3532 }
3533
---
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: 53746 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 3/5] megaraid_sas: Early detection of VD deletion through RaidMap update
Date: Thu, 18 Mar 2021 04:55:09 +0800 [thread overview]
Message-ID: <202103180424.C5789r68-lkp@intel.com> (raw)
In-Reply-To: <20210317190824.3050-4-chandrakanth.patil@broadcom.com>
[-- Attachment #1: Type: text/plain, Size: 3147 bytes --]
Hi Chandrakanth,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on v5.12-rc3]
[cannot apply to mkp-scsi/for-next scsi/for-next next-20210317]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Chandrakanth-Patil/megaraid_sas-Update-driver-version-to-07-717-01-00-rc1/20210318-031205
base: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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/dadb835ed01309bcd9a8d51a01ad4467dc71aea6
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chandrakanth-Patil/megaraid_sas-Update-driver-version-to-07-717-01-00-rc1/20210318-031205
git checkout dadb835ed01309bcd9a8d51a01ad4467dc71aea6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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/megaraid/megaraid_sas_base.c:3502:1: warning: no previous prototype for 'megasas_set_sdev_removed_by_fw' [-Wmissing-prototypes]
3502 | megasas_set_sdev_removed_by_fw(struct megasas_instance *instance)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/megasas_set_sdev_removed_by_fw +3502 drivers/scsi/megaraid/megaraid_sas_base.c
3500
3501 void
> 3502 megasas_set_sdev_removed_by_fw(struct megasas_instance *instance)
3503 {
3504 struct scsi_device *sdev;
3505 struct MR_PRIV_DEVICE *mr_device_priv_data;
3506 uint channel, id, i;
3507
3508 for (i = 0; (i < MEGASAS_MAX_LD_IDS); i++) {
3509 if (instance->ld_ids_prev[i] != 0xff &&
3510 instance->ld_ids_from_raidmap[i] == 0xff) {
3511 channel = MEGASAS_MAX_PD_CHANNELS +
3512 (instance->ld_ids_prev[i] /
3513 MEGASAS_MAX_DEV_PER_CHANNEL);
3514 id = (instance->ld_ids_prev[i] %
3515 MEGASAS_MAX_DEV_PER_CHANNEL);
3516
3517 if (megasas_dbg_lvl & LD_PD_DEBUG)
3518 dev_info(&instance->pdev->dev,
3519 "index %d old 0x%x new 0x%x from %s\n",
3520 i, instance->ld_ids_prev[i],
3521 instance->ld_ids_from_raidmap[i],
3522 __func__);
3523
3524 sdev = scsi_device_lookup(instance->host, channel, id, 0);
3525 if (sdev) {
3526 mr_device_priv_data = sdev->hostdata;
3527 mr_device_priv_data->device_removed_by_fw = true;
3528 scsi_device_put(sdev);
3529 }
3530 }
3531 }
3532 }
3533
---
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: 53746 bytes --]
next prev parent reply other threads:[~2021-03-17 20:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-17 19:08 [PATCH 0/5] megaraid_sas: Update driver version to 07.717.01.00-rc1 Chandrakanth Patil
2021-03-17 19:08 ` [PATCH 1/5] megaraid_sas: Send all non-RW IOs for TYPE_ENCLOSURE device through firmware Chandrakanth Patil
2021-03-17 19:08 ` [PATCH 2/5] megaraid_sas: Fix the resource leak in case of probe failure Chandrakanth Patil
2021-03-17 19:08 ` [PATCH 3/5] megaraid_sas: Early detection of VD deletion through RaidMap update Chandrakanth Patil
2021-03-17 20:55 ` kernel test robot [this message]
2021-03-17 20:55 ` kernel test robot
2021-03-17 22:53 ` kernel test robot
2021-03-17 22:53 ` kernel test robot
2021-03-17 22:53 ` [RFC PATCH] megaraid_sas: megasas_set_sdev_removed_by_fw can be static kernel test robot
2021-03-17 22:53 ` kernel test robot
2021-03-17 19:08 ` [PATCH 4/5] megaraid_sas: Handle missing interrupts while re-enabling IRQs Chandrakanth Patil
2021-03-17 19:08 ` [PATCH 5/5] megaraid_sas: Update driver version to 07.717.01.00-rc1 Chandrakanth Patil
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=202103180424.C5789r68-lkp@intel.com \
--to=lkp@intel.com \
--cc=anand.lodnoor@broadcom.com \
--cc=chandrakanth.patil@broadcom.com \
--cc=kashyap.desai@broadcom.com \
--cc=kbuild-all@lists.01.org \
--cc=kiran-kumar.kasturi@broadcom.com \
--cc=linux-scsi@vger.kernel.org \
--cc=sankar.patra@broadcom.com \
--cc=sasikumar.pc@broadcom.com \
--cc=shivasharan.srikanteshwara@broadcom.com \
--cc=sumit.saxena@broadcom.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.