From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1espFD-0006Oj-4M for qemu-devel@nongnu.org; Mon, 05 Mar 2018 07:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1espFA-0006eH-17 for qemu-devel@nongnu.org; Mon, 05 Mar 2018 07:29:31 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43392 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1espF9-0006du-TM for qemu-devel@nongnu.org; Mon, 05 Mar 2018 07:29:27 -0500 Date: Mon, 5 Mar 2018 13:29:15 +0100 From: Igor Mammedov Message-ID: <20180305132915.4dacc461@redhat.com> In-Reply-To: <20180215042900.16078-9-f4bug@amsat.org> References: <20180215042900.16078-1-f4bug@amsat.org> <20180215042900.16078-9-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 08/30] hw/i386: use the BYTE-based definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= Cc: qemu-devel@nongnu.org, "Michael S. Tsirkin" , Paolo Bonzini , Richard Henderson , Eduardo Habkost , Marcel Apfelbaum , Stefano Stabellini , Anthony Perard , "open list:X86" On Thu, 15 Feb 2018 01:28:38 -0300 Philippe Mathieu-Daud=C3=A9 wrote: > It ease code review, unit is explicit. >=20 > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- [...] > diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c > index deb440f286..9ccc6192b5 100644 > --- a/hw/i386/acpi-build.c > +++ b/hw/i386/acpi-build.c > @@ -2320,8 +2320,8 @@ build_tpm2(GArray *table_data, BIOSLinker *linker, = GArray *tcpalog) > (void *)tpm2_ptr, "TPM2", sizeof(*tpm2_ptr), 4, NULL, N= ULL); > } > =20 > -#define HOLE_640K_START (640 * 1024) > -#define HOLE_640K_END (1024 * 1024) > +#define HOLE_640K_START (640 * K_BYTE) > +#define HOLE_640K_END (1024 * K_BYTE) nit: could be 1 * M_BYTE [...] Reviewed-by: Igor Mammedov