Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ranjan Kumar <ranjan.kumar@broadcom.com>,
	linux-scsi@vger.kernel.org, martin.petersen@oracle.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	rajsekhar.chundru@broadcom.com, sathya.prakash@broadcom.com,
	chandrakanth.patil@broadcom.com, prayas.patel@broadcom.com,
	salomondush@google.com, Ranjan Kumar <ranjan.kumar@broadcom.com>
Subject: Re: [PATCH v1 4/7] mpi3mr: Use negotiated link rate from DevicePage0
Date: Tue, 13 Jan 2026 00:38:19 +0800	[thread overview]
Message-ID: <202601130005.zkxx1m3u-lkp@intel.com> (raw)
In-Reply-To: <20260112081037.74376-5-ranjan.kumar@broadcom.com>

Hi Ranjan,

kernel test robot noticed the following build warnings:

[auto build test WARNING on mkp-scsi/for-next]
[also build test WARNING on jejb-scsi/for-next linus/master v6.19-rc5 next-20260109]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Ranjan-Kumar/mpi3mr-Add-module-parameter-to-control-threaded-IRQ-polling/20260112-162241
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
patch link:    https://lore.kernel.org/r/20260112081037.74376-5-ranjan.kumar%40broadcom.com
patch subject: [PATCH v1 4/7] mpi3mr: Use negotiated link rate from DevicePage0
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260113/202601130005.zkxx1m3u-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260113/202601130005.zkxx1m3u-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601130005.zkxx1m3u-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/scsi/mpi3mr/mpi3mr_os.c:1220:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
    1220 |         default:
         |         ^
   drivers/scsi/mpi3mr/mpi3mr_os.c:1220:2: note: insert 'break;' to avoid fall-through
    1220 |         default:
         |         ^
         |         break; 
   1 warning generated.


vim +1220 drivers/scsi/mpi3mr/mpi3mr_os.c

  1153	
  1154		if (!(mrioc->logging_level &
  1155		    (MPI3_DEBUG_EVENT | MPI3_DEBUG_EVENT_WORK_TASK)))
  1156			return;
  1157	
  1158		ioc_info(mrioc,
  1159		    "device_pg0: handle(0x%04x), perst_id(%d), wwid(0x%016llx), encl_handle(0x%04x), slot(%d)\n",
  1160		    le16_to_cpu(dev_pg0->dev_handle),
  1161		    le16_to_cpu(dev_pg0->persistent_id),
  1162		    le64_to_cpu(dev_pg0->wwid), le16_to_cpu(dev_pg0->enclosure_handle),
  1163		    le16_to_cpu(dev_pg0->slot));
  1164		ioc_info(mrioc, "device_pg0: access_status(0x%02x), flags(0x%04x), device_form(0x%02x), queue_depth(%d)\n",
  1165		    dev_pg0->access_status, le16_to_cpu(dev_pg0->flags),
  1166		    dev_pg0->device_form, le16_to_cpu(dev_pg0->queue_depth));
  1167		ioc_info(mrioc, "device_pg0: parent_handle(0x%04x), iounit_port(%d)\n",
  1168		    le16_to_cpu(dev_pg0->parent_dev_handle), dev_pg0->io_unit_port);
  1169	
  1170		switch (dev_pg0->device_form) {
  1171		case MPI3_DEVICE_DEVFORM_SAS_SATA:
  1172		{
  1173			struct mpi3_device0_sas_sata_format *sasinf =
  1174			    &dev_pg0->device_specific.sas_sata_format;
  1175			ioc_info(mrioc,
  1176			    "device_pg0: sas_sata: sas_address(0x%016llx),flags(0x%04x),\n"
  1177			    "device_info(0x%04x), phy_num(%d), attached_phy_id(%d),negotiated_link_rate(0x%02x)\n",
  1178			    le64_to_cpu(sasinf->sas_address),
  1179			    le16_to_cpu(sasinf->flags),
  1180			    le16_to_cpu(sasinf->device_info), sasinf->phy_num,
  1181			    sasinf->attached_phy_identifier, sasinf->negotiated_link_rate);
  1182			break;
  1183		}
  1184		case MPI3_DEVICE_DEVFORM_PCIE:
  1185		{
  1186			struct mpi3_device0_pcie_format *pcieinf =
  1187			    &dev_pg0->device_specific.pcie_format;
  1188			ioc_info(mrioc,
  1189			    "device_pg0: pcie: port_num(%d), device_info(0x%04x), mdts(%d), page_sz(0x%02x)\n",
  1190			    pcieinf->port_num, le16_to_cpu(pcieinf->device_info),
  1191			    le32_to_cpu(pcieinf->maximum_data_transfer_size),
  1192			    pcieinf->page_size);
  1193			ioc_info(mrioc,
  1194			    "device_pg0: pcie: abort_timeout(%d), reset_timeout(%d) capabilities (0x%08x)\n",
  1195			    pcieinf->nvme_abort_to, pcieinf->controller_reset_to,
  1196			    le32_to_cpu(pcieinf->capabilities));
  1197			break;
  1198		}
  1199		case MPI3_DEVICE_DEVFORM_VD:
  1200		{
  1201			struct mpi3_device0_vd_format *vdinf =
  1202			    &dev_pg0->device_specific.vd_format;
  1203	
  1204			ioc_info(mrioc,
  1205			    "device_pg0: vd: state(0x%02x), raid_level(%d), flags(0x%04x),\n"
  1206			    "device_info(0x%04x) abort_timeout(%d), reset_timeout(%d)\n",
  1207			    vdinf->vd_state, vdinf->raid_level,
  1208			    le16_to_cpu(vdinf->flags),
  1209			    le16_to_cpu(vdinf->device_info),
  1210			    vdinf->vd_abort_to, vdinf->vd_reset_to);
  1211			ioc_info(mrioc,
  1212			    "device_pg0: vd: tg_id(%d), high(%dMiB), low(%dMiB), qd_reduction_factor(%d)\n",
  1213			    vdinf->io_throttle_group,
  1214			    le16_to_cpu(vdinf->io_throttle_group_high),
  1215			    le16_to_cpu(vdinf->io_throttle_group_low),
  1216			    ((le16_to_cpu(vdinf->flags) &
  1217			       MPI3_DEVICE0_VD_FLAGS_IO_THROTTLE_GROUP_QD_MASK) >> 12));
  1218	
  1219		}
> 1220		default:
  1221			break;
  1222		}
  1223	}
  1224	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2026-01-12 16:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-12  8:10 [PATCH v1 0/7] mpi3mr: Enhancements for mpi3mr Ranjan Kumar
2026-01-12  8:10 ` [PATCH v1 1/7] mpi3mr: Add module parameter to control threaded IRQ polling Ranjan Kumar
2026-01-12 14:14   ` Damien Le Moal
2026-01-13 17:36     ` Ranjan Kumar
2026-01-12  8:10 ` [PATCH v1 2/7] mpi3mr: Rename log data save helper to reflect threaded/BH context Ranjan Kumar
2026-01-12 14:13   ` Damien Le Moal
2026-01-13  7:27     ` Ranjan Kumar
2026-01-15  8:45       ` Ranjan Kumar
2026-01-12  8:10 ` [PATCH v1 3/7] mpi3mr: Avoid redundant diag-fault resets Ranjan Kumar
2026-01-12  8:10 ` [PATCH v1 4/7] mpi3mr: Use negotiated link rate from DevicePage0 Ranjan Kumar
2026-01-12 14:18   ` Damien Le Moal
2026-01-13 17:46     ` Ranjan Kumar
2026-01-12 16:38   ` kernel test robot [this message]
2026-01-12  8:10 ` [PATCH v1 5/7] mpi3mr: Update MPI Headers to revision 39 Ranjan Kumar
2026-01-12 14:21   ` Damien Le Moal
2026-01-13 17:39     ` Ranjan Kumar
2026-01-12  8:10 ` [PATCH v1 6/7] mpi3mr: Record and report controller firmware faults Ranjan Kumar
2026-01-12 14:25   ` Damien Le Moal
2026-01-13 18:28     ` Ranjan Kumar
2026-01-12  8:10 ` [PATCH v1 7/7] mpi3mr: Driver version update to 8.17.0.3.50 Ranjan Kumar

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=202601130005.zkxx1m3u-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=chandrakanth.patil@broadcom.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=martin.petersen@oracle.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=prayas.patel@broadcom.com \
    --cc=rajsekhar.chundru@broadcom.com \
    --cc=ranjan.kumar@broadcom.com \
    --cc=salomondush@google.com \
    --cc=sathya.prakash@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox