vfio: fix typo "stucture" in comment
Subsystems (3)
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
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/vfio/mdev/mdev_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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(). *
Signature · 1 line
2.48.1
Quoted 15 lines · On Fri, 4 Sep 2026 17:21:08 +0530 Hemanth Selam <[email protected]>…
Correct "stucture" to "structure", reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- drivers/vfio/mdev/mdev_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/vfio/mdev/mdev_core.c +0
-0
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