Skip to contentSkip to conversation

vfio: fix typo "stucture" in comment

PATCH Applied Hemanth Selam 2 participants 2 messages Sep 4 – Sep 25

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vfio: fix typo "stucture" in comment

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
---
 drivers/vfio/mdev/mdev_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/vfio/mdev/mdev_core.c +1 -1
index 3b4aa0632fcc..34337292a9b1 100644
@@ -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().
  *
Signature · 1 line
2.48.1
maintainer Applied
#1 lore raw
Quoted 15 lines · On Fri, 4 Sep 2026 17:21:08 +0530 Hemanth Selam <[email protected]>…

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
---
 drivers/vfio/mdev/mdev_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/vfio/mdev/mdev_core.c +0 -0
index 3b4aa0632fcc..34337292a9b1 100644

drivers/vfio/mdev/mdev_core.c static int mdev_device_remove_cb(struct device *dev, void *data) · line 56

Quoted 8 lines
drivers/vfio/mdev/mdev_core.c +1 -1
@@ -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