Skip to contentSkip to conversation

qom/object.c: Fix typo

PATCH In review Doug Evans via 2 participants 2 messages Feb 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qom/object.c: Fix typo

A simple typo (noticed by inspection).

commit ccdffd2c10c5e4447d5e462a6ad2f351df502dee

Author: Doug Evans <[email protected]>
Date:   Thu Feb 11 16:29:13 2021 -0800

qom/object.c: Fix typo

qom/object.c +1 -1
index 491823db4a..6a01d56546 100644
@@ -695,7 +695,7 @@ static void object_finalize(void *data)
 
 /* Find the minimum alignment guaranteed by the system malloc. */
 #if __STDC_VERSION__ >= 201112L
-typddef max_align_t qemu_max_align_t;
+typedef max_align_t qemu_max_align_t;
 #else
 typedef union {
     long l;
Reviewed-by on v1 1/1
#1 lore raw

Hi Doug,

Quoted 9 lines · Doug Evans via

A simple typo (noticed by inspection).

commit ccdffd2c10c5e4447d5e462a6ad2f351df502dee

Author: Doug Evans <[email protected]>
Date:   Thu Feb 11 16:29:13 2021 -0800

qom/object.c: Fix typo

Your patch can be applied with git-am, but with author Doug Evans via <[email protected]> and contains an invalid commit reference.

Can you use git-format-patch which inserts a From: tag so your email is properly set and you don't have to worry with the issues with your email provider:
https://wiki.qemu.org/Contribute/SubmitAPatch#Use_git_format-patch

Quoted 6 lines
qom/object.c +0 -0
index 491823db4a..6a01d56546 100644

qom/object.c static void object_finalize(void *data) · line 701

Quoted 8 lines
qom/object.c +1 -1
@@ -695,7 +695,7 @@ static void object_finalize(void *data)
 
 /* Find the minimum alignment guaranteed by the system malloc. */
 #if __STDC_VERSION__ >= 201112L
-typddef max_align_t qemu_max_align_t;
+typedef max_align_t qemu_max_align_t;
 #else
 typedef union {
     long l;

For the typo: