All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] qom: Fix "typddef" typo
@ 2020-10-07 22:02 ` Eduardo Habkost
  0 siblings, 0 replies; 13+ messages in thread
From: Eduardo Habkost @ 2020-10-07 22:02 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Richard Henderson, qemu-trivial,
	Daniel P. Berrangé, Paolo Bonzini

Fix typo introduced in the C11 #ifdef for qemu_max_align_t.  It
never caused any problems because we always compile using
-std=gnu99.

Fixes: 4c880f363e9e ("qom: Allow objects to be allocated with increased alignment")
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
 qom/object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qom/object.c b/qom/object.c
index c335dce7e4..125dabd28b 100644
--- a/qom/object.c
+++ b/qom/object.c
@@ -692,7 +692,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;
-- 
2.26.2



^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-10-13 13:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-07 22:02 [PATCH] qom: Fix "typddef" typo Eduardo Habkost
2020-10-07 22:02 ` Eduardo Habkost
2020-10-08  7:01 ` Marc-André Lureau
2020-10-08  7:01   ` Marc-André Lureau
2020-10-08  7:44 ` Philippe Mathieu-Daudé
2020-10-08  7:44   ` Philippe Mathieu-Daudé
2020-10-12 14:32 ` Laurent Vivier
2020-10-12 14:32   ` Laurent Vivier
2020-10-12 14:45 ` Daniel P. Berrangé
2020-10-12 14:45   ` Daniel P. Berrangé
2020-10-12 15:24   ` Laurent Vivier
2020-10-13 13:16   ` Eduardo Habkost
2020-10-13 13:16     ` Eduardo Habkost

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.