[PATCH] vfio: fix typo "stucture" in comment

Hemanth Selam posted 1 patch 3 weeks ago
drivers/vfio/mdev/mdev_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vfio: fix typo "stucture" in comment
Posted by Hemanth Selam 3 weeks ago
Correct "stucture" to "structure", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt.  Only touches comments, no
code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/vfio/mdev/mdev_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c
index 3b4aa0632fcc..34337292a9b1 100644
--- a/drivers/vfio/mdev/mdev_core.c
+++ b/drivers/vfio/mdev/mdev_core.c
@@ -50,7 +50,7 @@ static int mdev_device_remove_cb(struct device *dev, void *data)
  * @types: Array of supported mdev types
  * @nr_types: Number of entries in @types
  *
- * Registers the @parent stucture as a parent for mdev types and thus mdev
+ * Registers the @parent structure as a parent for mdev types and thus mdev
  * devices.  The caller needs to hold a reference on @dev that must not be
  * released until after the call to mdev_unregister_parent().
  *
-- 
2.48.1
Re: [PATCH] vfio: fix typo "stucture" in comment
Posted by Alex Williamson 7 hours ago
On Fri,  4 Sep 2026 17:21:08 +0530
Hemanth Selam <hemanth.selam@gmail.com> wrote:

> Correct "stucture" to "structure", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt.  Only touches comments, no
> code changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>  drivers/vfio/mdev/mdev_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/vfio/mdev/mdev_core.c b/drivers/vfio/mdev/mdev_core.c
> index 3b4aa0632fcc..34337292a9b1 100644
> --- a/drivers/vfio/mdev/mdev_core.c
> +++ b/drivers/vfio/mdev/mdev_core.c
> @@ -50,7 +50,7 @@ static int mdev_device_remove_cb(struct device *dev, void *data)
>   * @types: Array of supported mdev types
>   * @nr_types: Number of entries in @types
>   *
> - * Registers the @parent stucture as a parent for mdev types and thus mdev
> + * Registers the @parent structure as a parent for mdev types and thus mdev
>   * devices.  The caller needs to hold a reference on @dev that must not be
>   * released until after the call to mdev_unregister_parent().
>   *

Applied to vfio next branch for v7.4.  Thanks,

Alex