[PATCH] vfio: uapi: fix comment typo

Joseph Salisbury posted 1 patch 3 weeks ago
include/uapi/linux/vfio.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] vfio: uapi: fix comment typo
Posted by Joseph Salisbury 3 weeks ago
The file contains a spelling error in a source comment (succes).

Typos in comments reduce readability and make text searches less reliable
for developers and maintainers.

Replace 'succes' with 'success' in the affected comment. This is a
comment-only cleanup and does not change behavior.

Fixes: 607ca46e97a1 ("UAPI: (Scripted) Disintegrate include/linux")
Cc: stable@vger.kernel.org
Signed-off-by: Joseph Salisbury <joseph.salisbury@oracle.com>
---
 include/uapi/linux/vfio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
index bb7b89330d35..63d56c1fbf6f 100644
--- a/include/uapi/linux/vfio.h
+++ b/include/uapi/linux/vfio.h
@@ -141,7 +141,7 @@ struct vfio_info_cap_header {
  *
  * Retrieve information about the group.  Fills in provided
  * struct vfio_group_info.  Caller sets argsz.
- * Return: 0 on succes, -errno on failure.
+ * Return: 0 on success, -errno on failure.
  * Availability: Always
  */
 struct vfio_group_status {
-- 
2.47.3
Re: [PATCH] vfio: uapi: fix comment typo
Posted by Alex Williamson 2 weeks, 3 days ago
On Mon, 16 Mar 2026 14:56:17 -0400
Joseph Salisbury <joseph.salisbury@oracle.com> wrote:

> The file contains a spelling error in a source comment (succes).
> 
> Typos in comments reduce readability and make text searches less reliable
> for developers and maintainers.
> 
> Replace 'succes' with 'success' in the affected comment. This is a
> comment-only cleanup and does not change behavior.
> 
> Fixes: 607ca46e97a1 ("UAPI: (Scripted) Disintegrate include/linux")
> Cc: stable@vger.kernel.org
> Signed-off-by: Joseph Salisbury <joseph.salisbury@oracle.com>
> ---
>  include/uapi/linux/vfio.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
> index bb7b89330d35..63d56c1fbf6f 100644
> --- a/include/uapi/linux/vfio.h
> +++ b/include/uapi/linux/vfio.h
> @@ -141,7 +141,7 @@ struct vfio_info_cap_header {
>   *
>   * Retrieve information about the group.  Fills in provided
>   * struct vfio_group_info.  Caller sets argsz.
> - * Return: 0 on succes, -errno on failure.
> + * Return: 0 on success, -errno on failure.
>   * Availability: Always
>   */
>  struct vfio_group_status {

Applied to vfio next branch for v7.1.  Fixes and stable tags dropped.
Thanks,

Alex
Re: [External] : [PATCH] vfio: uapi: fix comment typo
Posted by Joseph Salisbury 3 weeks ago

On 3/16/26 2:56 PM, Joseph Salisbury wrote:
> The file contains a spelling error in a source comment (succes).
>
> Typos in comments reduce readability and make text searches less reliable
> for developers and maintainers.
>
> Replace 'succes' with 'success' in the affected comment. This is a
> comment-only cleanup and does not change behavior.
>
> Fixes: 607ca46e97a1 ("UAPI: (Scripted) Disintegrate include/linux")
> Cc: stable@vger.kernel.org
> Signed-off-by: Joseph Salisbury <joseph.salisbury@oracle.com>
> ---
>   include/uapi/linux/vfio.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/uapi/linux/vfio.h b/include/uapi/linux/vfio.h
> index bb7b89330d35..63d56c1fbf6f 100644
> --- a/include/uapi/linux/vfio.h
> +++ b/include/uapi/linux/vfio.h
> @@ -141,7 +141,7 @@ struct vfio_info_cap_header {
>    *
>    * Retrieve information about the group.  Fills in provided
>    * struct vfio_group_info.  Caller sets argsz.
> - * Return: 0 on succes, -errno on failure.
> + * Return: 0 on success, -errno on failure.
>    * Availability: Always
>    */
>   struct vfio_group_status {
I inadvertently added Fixes: and Cc: stable tags.  If possible, please 
remove them as they are not appropriate for fixes to misspellings in 
code comments.  If it's not possible to remove them, I can send a v2.