]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio/mdev: update outdated comment
authorJulia Lawall <Julia.Lawall@inria.fr>
Tue, 30 Dec 2025 16:41:13 +0000 (17:41 +0100)
committerAlex Williamson <alex@shazbot.org>
Mon, 19 Jan 2026 17:06:29 +0000 (10:06 -0700)
commitffc987b3bca22ff62f140a8d4960e1b8685972ed
tree2ec268bef8b0bcda4b92be3593803e1db4c91884
parent24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
vfio/mdev: update outdated comment

The function add_mdev_supported_type() was renamed mdev_type_add() in
commit da44c340c4fe ("vfio/mdev: simplify mdev_type handling").
Update the comment accordingly.

Note that just as mdev_type_release() now states that its put pairs
with the get in mdev_type_add(), mdev_type_add() already stated that
its get pairs with the put in mdev_type_release().

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20251230164113.102604-1-Julia.Lawall@inria.fr
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/mdev/mdev_sysfs.c