linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 12683/13297] drivers/scsi/qla2xxx/qla_nvme.c:1183:13: warning: unused variable 'fcport'
@ 2023-08-29 15:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-29 15:24 UTC (permalink / raw)
  To: Nilesh Javali
  Cc: llvm, oe-kbuild-all, Linux Memory Management List, Martin K. Petersen

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   ae782d4e2bf53b0b642ae860794f7a39470f995a
commit: 27177862de9676c8c35b86bf89c38864fbe5ed71 [12683/13297] scsi: qla2xxx: Fix nvme_fc_rcv_ls_req() undefined error
config: arm64-randconfig-r034-20230829 (https://download.01.org/0day-ci/archive/20230829/202308292344.Y3XqInYf-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230829/202308292344.Y3XqInYf-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/202308292344.Y3XqInYf-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/scsi/qla2xxx/qla_nvme.c:1183:13: warning: unused variable 'fcport' [-Wunused-variable]
    1183 |         fc_port_t *fcport = uctx->fcport;
         |                    ^
   1 warning generated.


vim +/fcport +1183 drivers/scsi/qla2xxx/qla_nvme.c

875386b9885782 Manish Rangankar 2023-08-21  1167  
875386b9885782 Manish Rangankar 2023-08-21  1168  /*
875386b9885782 Manish Rangankar 2023-08-21  1169   * qla2xxx_process_purls_pkt() - Pass-up Unsolicited
875386b9885782 Manish Rangankar 2023-08-21  1170   * Received FC-NVMe Link Service pkt to nvme_fc_rcv_ls_req().
875386b9885782 Manish Rangankar 2023-08-21  1171   * LLDD need to provide memory for response buffer, which
875386b9885782 Manish Rangankar 2023-08-21  1172   * will be used to reference the exchange corresponding
875386b9885782 Manish Rangankar 2023-08-21  1173   * to the LS when issuing an ls response. LLDD will have to free
875386b9885782 Manish Rangankar 2023-08-21  1174   * response buffer in lport->ops->xmt_ls_rsp().
875386b9885782 Manish Rangankar 2023-08-21  1175   *
875386b9885782 Manish Rangankar 2023-08-21  1176   * @vha: SCSI qla host
875386b9885782 Manish Rangankar 2023-08-21  1177   * @item: ptr to purex_item
875386b9885782 Manish Rangankar 2023-08-21  1178   */
875386b9885782 Manish Rangankar 2023-08-21  1179  static void
875386b9885782 Manish Rangankar 2023-08-21  1180  qla2xxx_process_purls_pkt(struct scsi_qla_host *vha, struct purex_item *item)
875386b9885782 Manish Rangankar 2023-08-21  1181  {
875386b9885782 Manish Rangankar 2023-08-21  1182  	struct qla_nvme_unsol_ctx *uctx = item->purls_context;
875386b9885782 Manish Rangankar 2023-08-21 @1183  	fc_port_t *fcport = uctx->fcport;
875386b9885782 Manish Rangankar 2023-08-21  1184  	struct qla_nvme_lsrjt_pt_arg a;
27177862de9676 Nilesh Javali    2023-08-24  1185  	int ret = 1;
875386b9885782 Manish Rangankar 2023-08-21  1186  

:::::: The code at line 1183 was first introduced by commit
:::::: 875386b98857822b77ac7f95bdf367b70af5b78c scsi: qla2xxx: Add Unsolicited LS Request and Response Support for NVMe

:::::: TO: Manish Rangankar <mrangankar@marvell.com>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-29 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 15:24 [linux-next:master 12683/13297] drivers/scsi/qla2xxx/qla_nvme.c:1183:13: warning: unused variable 'fcport' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox