From: Markus Armbruster <armbru@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] ui: use enum to string helpers
Date: Wed, 01 Aug 2018 15:08:38 +0200 [thread overview]
Message-ID: <87bmam8ca1.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <20180801092508.4927-1-marcandre.lureau@redhat.com> ("Marc-André Lureau"'s message of "Wed, 1 Aug 2018 11:25:08 +0200")
Marc-André Lureau <marcandre.lureau@redhat.com> writes:
> Minor code simplification.
It's also a bit more robust: FOO_str(VAL) checks VAL is in range,
FOO_lookup.array[VAL] doesn't.
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
next prev parent reply other threads:[~2018-08-01 13:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-01 9:25 [Qemu-devel] [PATCH] ui: use enum to string helpers Marc-André Lureau
2018-08-01 13:08 ` Markus Armbruster [this message]
2018-08-21 5:40 ` Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmam8ca1.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.