[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202508010632.WB0CM5Bz-lkp@intel.com>
Date: Fri, 1 Aug 2025 06:39:18 +0800
From: kernel test robot <lkp@...el.com>
To: Seyediman Seyedarab <imandevel@...il.com>, dwmw2@...radead.org,
baolu.lu@...ux.intel.com, joro@...tes.org, will@...nel.org,
robin.murphy@....com
Cc: oe-kbuild-all@...ts.linux.dev, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org, skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linux.dev,
Seyediman Seyedarab <ImanDevel@...il.com>
Subject: Re: [PATCH v3] iommu/vt-d: replace snprintf with scnprintf in
dmar_latency_snapshot()
Hi Seyediman,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.16 next-20250731]
[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/Seyediman-Seyedarab/iommu-vt-d-replace-snprintf-with-scnprintf-in-dmar_latency_snapshot/20250731-045248
base: linus/master
patch link: https://lore.kernel.org/r/20250730205046.29719-1-ImanDevel%40gmail.com
patch subject: [PATCH v3] iommu/vt-d: replace snprintf with scnprintf in dmar_latency_snapshot()
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20250801/202508010632.WB0CM5Bz-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250801/202508010632.WB0CM5Bz-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508010632.WB0CM5Bz-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/iommu/intel/debugfs.c: In function 'latency_show_one':
>> drivers/iommu/intel/debugfs.c:651:13: warning: unused variable 'ret' [-Wunused-variable]
651 | int ret;
| ^~~
vim +/ret +651 drivers/iommu/intel/debugfs.c
a6d268c619d6765 drivers/iommu/intel-iommu-debugfs.c Sohil Mehta 2018-09-11 647
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 648 static void latency_show_one(struct seq_file *m, struct intel_iommu *iommu,
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 649 struct dmar_drhd_unit *drhd)
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 650 {
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 @651 int ret;
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 652
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 653 seq_printf(m, "IOMMU: %s Register Base Address: %llx\n",
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 654 iommu->name, drhd->reg_base_addr);
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 655
a6210a36bda1ca1 drivers/iommu/intel/debugfs.c Seyediman Seyedarab 2025-07-30 656 dmar_latency_snapshot(iommu, debug_buf, DEBUG_BUFFER_SIZE);
a6210a36bda1ca1 drivers/iommu/intel/debugfs.c Seyediman Seyedarab 2025-07-30 657 seq_printf(m, "%s\n", debug_buf);
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 658 }
456bb0b97f00fe8 drivers/iommu/intel/debugfs.c Lu Baolu 2021-06-10 659
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists