From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=42764 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi3yB-0000Yo-43 for qemu-devel@nongnu.org; Wed, 26 Jan 2011 06:55:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi3y8-0004js-UX for qemu-devel@nongnu.org; Wed, 26 Jan 2011 06:55:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi3y8-0004if-O0 for qemu-devel@nongnu.org; Wed, 26 Jan 2011 06:55:24 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id p0QBtOEP017013 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 26 Jan 2011 06:55:24 -0500 Message-ID: <4D400C0C.4090307@redhat.com> Date: Wed, 26 Jan 2011 12:57:00 +0100 From: Kevin Wolf MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros References: <1296039298-18022-1-git-send-email-Jes.Sorensen@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Jes.Sorensen@redhat.com, qemu-devel@nongnu.org Am 26.01.2011 12:53, schrieb Markus Armbruster: > Jes.Sorensen@redhat.com writes: > >> From: Jes Sorensen >> >> Signed-off-by: Jes Sorensen >> --- >> 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 Thanks, applied to the block branch. Kevin