From: kernel test robot <lkp@intel.com>
To: Karan Tilak Kumar <kartilak@cisco.com>, sebaddel@cisco.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
arulponn@cisco.com, djhawar@cisco.com, gcboffa@cisco.com,
mkai2@cisco.com, satishkh@cisco.com, aeasi@cisco.com,
jejb@linux.ibm.com, martin.petersen@oracle.com,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
Karan Tilak Kumar <kartilak@cisco.com>
Subject: Re: [PATCH v3 07/14] scsi: fnic: Add and integrate support for FIP
Date: Sun, 29 Sep 2024 19:39:02 +0800 [thread overview]
Message-ID: <202409291955.FcMZfNSt-lkp@intel.com> (raw)
In-Reply-To: <20240927184613.52172-8-kartilak@cisco.com>
Hi Karan,
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.11 next-20240927]
[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/Karan-Tilak-Kumar/scsi-fnic-Replace-shost_printk-with-dev_info-dev_err/20240928-025906
base: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
patch link: https://lore.kernel.org/r/20240927184613.52172-8-kartilak%40cisco.com
patch subject: [PATCH v3 07/14] scsi: fnic: Add and integrate support for FIP
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20240929/202409291955.FcMZfNSt-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240929/202409291955.FcMZfNSt-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/202409291955.FcMZfNSt-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/scsi/fnic/fnic_fcs.c:292:21: warning: variable 'fnic_stats' set but not used [-Wunused-but-set-variable]
292 | struct fnic_stats *fnic_stats;
| ^
1 warning generated.
vim +/fnic_stats +292 drivers/scsi/fnic/fnic_fcs.c
289
290 void fnic_handle_fip_frame(struct work_struct *work)
291 {
> 292 struct fnic_stats *fnic_stats;
293 struct fnic_frame_list *cur_frame, *next;
294 struct fnic *fnic = container_of(work, struct fnic, fip_frame_work);
295
296 fnic_stats = &fnic->fnic_stats;
297 FNIC_FCS_DBG(KERN_INFO, fnic->lport->host, fnic->fnic_num,
298 "Processing FIP frame\n");
299
300 spin_lock_irqsave(&fnic->fnic_lock, fnic->lock_flags);
301 list_for_each_entry_safe(cur_frame, next, &fnic->fip_frame_queue,
302 links) {
303 if (fnic->stop_rx_link_events) {
304 list_del(&cur_frame->links);
305 spin_unlock_irqrestore(&fnic->fnic_lock, fnic->lock_flags);
306 kfree(cur_frame->fp);
307 kfree(cur_frame);
308 return;
309 }
310
311 /*
312 * If we're in a transitional state, just re-queue and return.
313 * The queue will be serviced when we get to a stable state.
314 */
315 if (fnic->state != FNIC_IN_FC_MODE &&
316 fnic->state != FNIC_IN_ETH_MODE) {
317 spin_unlock_irqrestore(&fnic->fnic_lock, fnic->lock_flags);
318 return;
319 }
320
321 list_del(&cur_frame->links);
322
323 if (fdls_fip_recv_frame(fnic, cur_frame->fp)) {
324 kfree(cur_frame->fp);
325 kfree(cur_frame);
326 }
327 }
328 spin_unlock_irqrestore(&fnic->fnic_lock, fnic->lock_flags);
329 }
330
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-09-29 11:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-27 18:45 [PATCH v3 00/14] Introduce support for Fabric Discovery and Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 01/14] scsi: fnic: Replace shost_printk with dev_info/dev_err Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 02/14] scsi: fnic: Add headers and definitions for FDLS Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 03/14] scsi: fnic: Add support for fabric based solicited requests and responses Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 04/14] scsi: fnic: Add support for target " Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 05/14] scsi: fnic: Add support for unsolicited " Karan Tilak Kumar
2024-09-29 9:44 ` kernel test robot
2024-09-27 18:46 ` [PATCH v3 06/14] scsi: fnic: Add and integrate support for FDMI Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 07/14] scsi: fnic: Add and integrate support for FIP Karan Tilak Kumar
2024-09-29 11:39 ` kernel test robot [this message]
2024-09-27 18:46 ` [PATCH v3 08/14] scsi: fnic: Add functionality in fnic to support FDLS Karan Tilak Kumar
2024-09-29 13:13 ` kernel test robot
2024-09-27 18:46 ` [PATCH v3 09/14] scsi: fnic: Modify IO path to use FDLS Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 10/14] scsi: fnic: Modify fnic interfaces " Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 11/14] scsi: fnic: Add stats and related functionality Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 12/14] scsi: fnic: Code cleanup Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 13/14] scsi: fnic: Add support to handle port channel RSCN Karan Tilak Kumar
2024-09-27 18:46 ` [PATCH v3 14/14] scsi: fnic: Increment driver version Karan Tilak 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=202409291955.FcMZfNSt-lkp@intel.com \
--to=lkp@intel.com \
--cc=aeasi@cisco.com \
--cc=arulponn@cisco.com \
--cc=djhawar@cisco.com \
--cc=gcboffa@cisco.com \
--cc=jejb@linux.ibm.com \
--cc=kartilak@cisco.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=martin.petersen@oracle.com \
--cc=mkai2@cisco.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=satishkh@cisco.com \
--cc=sebaddel@cisco.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