Message ID | 20180215042900.16078-21-f4bug@amsat.org |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="iOfDAxvM"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zhkWM0xfFz9sRW for <incoming@patchwork.ozlabs.org>; Thu, 15 Feb 2018 15:56:13 +1100 (AEDT) Received: from localhost ([::1]:38471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1emBad-0006fq-5w for incoming@patchwork.ozlabs.org; Wed, 14 Feb 2018 23:56:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1emBBU-0008B3-3E for qemu-devel@nongnu.org; Wed, 14 Feb 2018 23:30:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1emBBR-0004D4-0C for qemu-devel@nongnu.org; Wed, 14 Feb 2018 23:30:12 -0500 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:35200) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>) id 1emBBQ-0004CC-S4 for qemu-devel@nongnu.org; Wed, 14 Feb 2018 23:30:08 -0500 Received: by mail-qt0-x243.google.com with SMTP id g14so10490547qti.2 for <qemu-devel@nongnu.org>; Wed, 14 Feb 2018 20:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=zX50IZ+1zvY2cKOi1my+J5zcSELNr8ves02YClLicvw=; b=iOfDAxvMqACIU8CnT4N/bfpof2hGL9k/PoGxgtg7T4z/13j6SlxcwtkEixQ/THPBrV V/bXUxISCx/VZuhL9gU6nKXtAeekKNaXBA+xMZxs8bIPJFdcG8ob6I0XWnR6rVz6O9O1 J8hwZTsHlvb0afCyvt/5wdfP/6qUyj+TbnFynGOvg6iPUqP78QRnVhAUlgy1YZxtMxx9 JppdNuqGUs0sKh36Ol82I9NnKqSW8vg4Vw1soxMSqyHztJHOJ/3V/rumtp2UXD4nh+RI iThvnJuMdk+fuGokHb9I9F5gIamfrQEe3R5R0GXDQMkPl9zmU6sk3U5/xS71Nr+JwmVW 82WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=zX50IZ+1zvY2cKOi1my+J5zcSELNr8ves02YClLicvw=; b=AbqvQbKY8eRR8YVxHVhy5xAaWMPmBv7RRcNZR7qHXaTyQ19qLwF4MLBu7HpxIaBizq qpIPGU7VjehW164MNEOsEcrBobNyx7UviHBXSQBYfp7WHeRUUVPEq9OwyCa9j7e/q/gR gAwr4JmdtOVcT7nhjVtr75lJJEAoBs2XS9/UXKQCINTI1zIuOcUbQDPGExQSXdj3CnOv gY7bMzkHP9QZ97TRpJonRso3kWn4a66mOi5OzuSFXNqMb6PKOckwIgcmuTdufXlxD5+B RGsFyK3MdYGg/IWrFhX6E6BrY7HU83OvrJxUgKhMmDuIQedYlVKY/eP64iLJv5WU7FWd G+Ow== X-Gm-Message-State: APf1xPANWlH5Oad60DTeA8jPgTsLcxaKVnhGYcXYGMUQ9Qw9pKn+5Hpz vrYYTKzWXgKg9+zswVPj2CfP+Bbc X-Google-Smtp-Source: AH8x2250WoHjlFr/Un/mPDxO77r+gRBKqPp0nO0n0yBVh9UEqGq1bXHHGc/MeKMH6T+ZtVEpztCw0g== X-Received: by 10.200.12.203 with SMTP id o11mr2263716qti.95.1518669008328; Wed, 14 Feb 2018 20:30:08 -0800 (PST) Received: from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id t33sm10680312qtc.14.2018.02.14.20.30.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 20:30:07 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org> To: qemu-devel@nongnu.org Date: Thu, 15 Feb 2018 01:28:50 -0300 Message-Id: <20180215042900.16078-21-f4bug@amsat.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215042900.16078-1-f4bug@amsat.org> References: <20180215042900.16078-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::243 Subject: [Qemu-devel] [PATCH 20/30] hw/cris: use the BYTE-based definitions X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= <f4bug@amsat.org> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
hw: use the BYTE-based definitions when useful
|
expand
|
diff --git a/hw/cris/axis_dev88.c b/hw/cris/axis_dev88.c index 9ccc4350a5..1dea3c594c 100644 --- a/hw/cris/axis_dev88.c +++ b/hw/cris/axis_dev88.c @@ -243,7 +243,7 @@ static const MemoryRegionOps gpio_ops = { }, }; -#define INTMEM_SIZE (128 * 1024) +#define INTMEM_SIZE (128 * K_BYTE) static struct cris_load_info li;
It ease code review, unit is explicit. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- hw/cris/axis_dev88.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)