From: kernel test robot <lkp@intel.com>
To: Yi Liu <yi.l.liu@intel.com>, Kevin Tian <kevin.tian@intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [yiliu1765-iommufd:wip/iommufd_pasid-20241203 11/27] drivers/iommu/iommufd/device.c:297: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Date: Tue, 3 Dec 2024 20:49:18 +0800 [thread overview]
Message-ID: <202412032044.MTRNSNMe-lkp@intel.com> (raw)
tree: https://github.com/yiliu1765/iommufd.git wip/iommufd_pasid-20241203
head: 09042d1f24b0dc9375b2357d36771b6997ef01cd
commit: 7f3cb770e52608fecf32524478384a883b8c3dcb [11/27] iommufd: Move the iommufd_handle helpers to device.c
config: i386-buildonly-randconfig-002-20241203 (https://download.01.org/0day-ci/archive/20241203/202412032044.MTRNSNMe-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241203/202412032044.MTRNSNMe-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/202412032044.MTRNSNMe-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/iommu/iommufd/device.c:297: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* This return the attach handle for the RID. Currently there is no
vim +297 drivers/iommu/iommufd/device.c
295
296 /**
> 297 * This return the attach handle for the RID. Currently there is no
298 * locking to synchronize threads that access the returned handle
299 * with those attaching or replacing the domain which might change
300 * the handle. It's caller's duty to guarantee no use-after-free.
301 */
302 struct iommufd_attach_handle *
303 iommufd_device_get_attach_handle(struct iommufd_device *idev)
304 {
305 struct iommu_attach_handle *handle;
306
307 handle = iommu_attach_handle_get(idev->igroup->group, IOMMU_NO_PASID, 0);
308 if (IS_ERR(handle))
309 return NULL;
310
311 return to_iommufd_handle(handle);
312 }
313
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-12-03 12:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202412032044.MTRNSNMe-lkp@intel.com \
--to=lkp@intel.com \
--cc=kevin.tian@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=yi.l.liu@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.