From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:58399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggqki-0004RI-4x for qemu-devel@nongnu.org; Tue, 08 Jan 2019 07:45:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggqkh-00035U-Ek for qemu-devel@nongnu.org; Tue, 08 Jan 2019 07:45:04 -0500 Date: Tue, 8 Jan 2019 13:44:40 +0100 From: Cornelia Huck Message-ID: <20190108134440.0d52f2c7.cohuck@redhat.com> In-Reply-To: <20190104181208.7809-2-philmd@redhat.com> References: <20190104181208.7809-1-philmd@redhat.com> <20190104181208.7809-2-philmd@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 1/3] util/cutils: Move size_to_str() from "qemu-common.h" to "cutils.h" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= Cc: qemu-devel@nongnu.org, Fam Zheng , qemu-trivial@nongnu.org, Michael Roth , Paolo Bonzini , David Hildenbrand , qemu-ppc@nongnu.org, Thomas Huth , Markus Armbruster , qemu-s390x@nongnu.org, Richard Henderson , Stefano Garzarella , Christian Borntraeger , Halil Pasic , Gerd Hoffmann , David Gibson On Fri, 4 Jan 2019 19:12:06 +0100 Philippe Mathieu-Daud=C3=A9 wrote: > The size_to_str() function doesn't need to be in a generic header. >=20 > It makes also sens to find this function in the same header than > the opposite string to size functions: qemu_strtosz*(). > Note than this function is already implemented in util/cutils.c. >=20 > Since we introduce a new function in a header, we document it, > using the previous comment from the source file. >=20 > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > include/qemu-common.h | 1 - > include/qemu/cutils.h | 13 +++++++++++++ > qapi/string-output-visitor.c | 2 +- > util/cutils.c | 6 ------ > 4 files changed, 14 insertions(+), 8 deletions(-) With the patch description fixed (as noted by Eric): Reviewed-by: Cornelia Huck