[PATCH v5 13/16] lpfc: vmid: Timeout implementation for vmid
kernel test robot
lkp at intel.com
Wed Dec 16 12:51:56 EST 2020
Hi Muneendra,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on scsi/for-next]
[also build test WARNING on mkp-scsi/for-next next-20201215]
[cannot apply to cgroup/for-next v5.10]
[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/Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
base: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
config: ia64-allmodconfig (attached as .config)
compiler: ia64-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/740ce984134d0cb523356e9bc60b870497053caf
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Muneendra/blkcg-Support-to-track-FC-storage-blk-io-traffic/20201216-202913
git checkout 740ce984134d0cb523356e9bc60b870497053caf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/scsi/lpfc/lpfc_hbadisc.c:318:6: warning: no previous prototype for 'lpfc_check_inactive_vmid' [-Wmissing-prototypes]
318 | void lpfc_check_inactive_vmid(struct lpfc_hba *phba)
| ^~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
Selected by
- FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
vim +/lpfc_check_inactive_vmid +318 drivers/scsi/lpfc/lpfc_hbadisc.c
307
308 /**
309 * lpfc_check_inactive_vmid - VMID inactivity checker
310 * @phba: Pointer to hba context object.
311 *
312 * This function is called from the worker thread to determine if an entry in
313 * the vmid table can be released since there was no IO activity seen from that
314 * particular VM for the specified time. When this happens, the entry in the
315 * table is released and also the resources on the switch cleared.
316 **/
317
> 318 void lpfc_check_inactive_vmid(struct lpfc_hba *phba)
319 {
320 struct lpfc_vport *vport;
321 struct lpfc_vport **vports;
322 int i;
323
324 vports = lpfc_create_vport_work_array(phba);
325 if (!vports)
326 return;
327
328 for (i = 0; i <= phba->max_vports; i++) {
329 if ((!vports[i]) && (i == 0))
330 vport = phba->pport;
331 else
332 vport = vports[i];
333 if (!vport)
334 break;
335
336 lpfc_check_inactive_vmid_one(vport);
337 }
338 lpfc_destroy_vport_work_array(phba, vports);
339 }
340
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 62883 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20201217/2cae28bb/attachment-0001.gz>
More information about the Linux-nvme
mailing list