From: kernel test robot <lkp@intel.com>
To: Seyediman Seyedarab <imandevel@gmail.com>,
dwmw2@infradead.org, baolu.lu@linux.intel.com, joro@8bytes.org,
will@kernel.org, robin.murphy@arm.com
Cc: oe-kbuild-all@lists.linux.dev, iommu@lists.linux.dev,
linux-kernel@vger.kernel.org, skhan@linuxfoundation.org,
linux-kernel-mentees@lists.linux.dev,
Seyediman Seyedarab <ImanDevel@gmail.com>
Subject: Re: [PATCH v3] iommu/vt-d: replace snprintf with scnprintf in dmar_latency_snapshot()
Date: Fri, 1 Aug 2025 06:39:18 +0800 [thread overview]
Message-ID: <202508010632.WB0CM5Bz-lkp@intel.com> (raw)
In-Reply-To: <20250730205046.29719-1-ImanDevel@gmail.com>
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@intel.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
prev parent reply other threads:[~2025-07-31 22:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-30 20:50 [PATCH v3] iommu/vt-d: replace snprintf with scnprintf in dmar_latency_snapshot() Seyediman Seyedarab
2025-07-31 22:39 ` kernel test robot [this message]
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=202508010632.WB0CM5Bz-lkp@intel.com \
--to=lkp@intel.com \
--cc=baolu.lu@linux.intel.com \
--cc=dwmw2@infradead.org \
--cc=imandevel@gmail.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=linux-kernel-mentees@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robin.murphy@arm.com \
--cc=skhan@linuxfoundation.org \
--cc=will@kernel.org \
/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