From: Kevin Wolf <kwolf@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Jes.Sorensen@redhat.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros
Date: Wed, 26 Jan 2011 12:57:00 +0100 [thread overview]
Message-ID: <4D400C0C.4090307@redhat.com> (raw)
In-Reply-To: <m38vy7285w.fsf@blackfin.pond.sub.org>
Am 26.01.2011 12:53, schrieb Markus Armbruster:
> Jes.Sorensen@redhat.com writes:
>
>> From: Jes Sorensen <Jes.Sorensen@redhat.com>
>>
>> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
>> ---
>> qemu-common.h | 7 +++++++
>> 1 files changed, 7 insertions(+), 0 deletions(-)
>>
>> diff --git a/qemu-common.h b/qemu-common.h
>> index c766b99..505e576 100644
>> --- a/qemu-common.h
>> +++ b/qemu-common.h
>> @@ -153,6 +153,13 @@ int qemu_fls(int i);
>> int qemu_fdatasync(int fd);
>> int fcntl_setfl(int fd, int flag);
>>
>> +/*
>> + * strtosz() suffixes used to specify the default treatment of an
>> + * argument passed to strtosz() without an explicit suffix.
>> + * These should be defined using upper case characters in the range
>> + * A-Z, as strtosz() will use qemu_toupper() on the given argument
>> + * prior to comparison.
>> + */
>> #define STRTOSZ_DEFSUFFIX_TB 'T'
>> #define STRTOSZ_DEFSUFFIX_GB 'G'
>> #define STRTOSZ_DEFSUFFIX_MB 'M'
>
> Thanks, Jes!
>
> Acked-by: Markus Armbruster <armbru@redhat.com>
Thanks, applied to the block branch.
Kevin
prev parent reply other threads:[~2011-01-26 11:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 10:54 [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros Jes.Sorensen
2011-01-26 11:53 ` Markus Armbruster
2011-01-26 11:57 ` Kevin Wolf [this message]
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=4D400C0C.4090307@redhat.com \
--to=kwolf@redhat.com \
--cc=Jes.Sorensen@redhat.com \
--cc=armbru@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).