From patchwork Tue Oct 9 07:08:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Li Qiang X-Patchwork-Id: 10632039 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2015B112B for ; Tue, 9 Oct 2018 07:09:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05771289CA for ; Tue, 9 Oct 2018 07:09:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EDACD28A3C; Tue, 9 Oct 2018 07:09:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 98930289CA for ; Tue, 9 Oct 2018 07:09:23 +0000 (UTC) Received: from localhost ([::1]:49954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9m8w-0002Iy-EM for patchwork-qemu-devel@patchwork.kernel.org; Tue, 09 Oct 2018 03:09:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9m8J-000205-7b for qemu-devel@nongnu.org; Tue, 09 Oct 2018 03:08:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9m8F-0003K1-UO for qemu-devel@nongnu.org; Tue, 09 Oct 2018 03:08:43 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:36781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9m8F-0003Jo-OW for qemu-devel@nongnu.org; Tue, 09 Oct 2018 03:08:39 -0400 Received: by mail-pf1-x442.google.com with SMTP id l81-v6so365488pfg.3 for ; Tue, 09 Oct 2018 00:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Ux+vFGBsb7rpEcX8339paxmpWsuRJ0wPeiZ3zHDOrZM=; b=Ej0GpJLGGzbD9XH3JPb5bLlMLPnTOwnsJgXGZnmiRtDoRTBywnmLz3/7qG857MCVM6 qfv+9rCfXvkK/LcpD1VPUpInj2DFt6qpWt0y64QrvoEC8Tt//IUFN6mkiQ+5Oi1yBJbA dYb4dKntbsLZ0puHhVjrhh2ja3klKMh3RJ1rhicyr5FsoZz4uhMfxsTwoLSGImyaaZ5C vibd0e1zliTcGG2iWCCflW9EA+ajuOUmmjxXScBMCQImPWlOx3mYLE0f5eeKeNXxqW/3 cM7n+qP0Q5JrUVwljxqOJMnIxmH6VfRKvOTerMbo/y5Dygw7Db3FpF3g85YAPY8y/bGH o8Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ux+vFGBsb7rpEcX8339paxmpWsuRJ0wPeiZ3zHDOrZM=; b=TSNcGYJRP63/e5ZSnsWX4YZv2Wp5+s1IPBLwns2P7LMAVFr8eopd4wmCqzk1MliWc0 78k7vwMLbZsjYuCkzwvJIXZL5eqz3QJsE1mJUhPd35Fn4hPBwCWhSQwn5OjyKwhxyRJx vwsKbqqcugSlATsQ69EeQ54SLiyuIhWZUJjop05Qq+T7AqVQPusRt8C01Ia1DofgFcnS rSPsciu3BmQW21oMIqicIFShN02SFaOxHWC1/KY3SvgiyDqHbYBxsWcyNRsPYgBjn1Fn k7N3quF65hfefAOcZkkD06NZZR0suNaqIdVHXqh3Cz1lHV45kRerkrUbizundZA40EYU p2mA== X-Gm-Message-State: ABuFfojTiiOrYIuzkkpMR954JTt4cAICAlEl19EZ99RXrNRRRso9zNqF T3DrMuBUgdVvnzWqquOx878= X-Google-Smtp-Source: ACcGV63SGJjL/VIyg/CY+dnhcAoLZOq7p1Y7MgfRi6XOYk6ojA6vVGPgNzjwGxLbIQ5wdh8o0lseFQ== X-Received: by 2002:a63:c00b:: with SMTP id h11-v6mr24642332pgg.159.1539068918951; Tue, 09 Oct 2018 00:08:38 -0700 (PDT) Received: from localhost.localdomain.localdomain ([103.65.40.64]) by smtp.gmail.com with ESMTPSA id h5-v6sm25246366pfo.135.2018.10.09.00.08.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 00:08:38 -0700 (PDT) From: Li Qiang To: peter.maydell@linaro.org, pbonzini@redhat.com Date: Tue, 9 Oct 2018 00:08:33 -0700 Message-Id: <1539068913-3796-1-git-send-email-liq3ea@gmail.com> X-Mailer: git-send-email 1.8.3.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::442 Subject: [Qemu-devel] [PATCH] Rom: change Rom's 'isrom' to bool type X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Li Qiang , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Li Qiang Reviewed-by: Philippe Mathieu-Daudé --- hw/core/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/loader.c b/hw/core/loader.c index aa0b3fc867..910f9a97a9 100644 --- a/hw/core/loader.c +++ b/hw/core/loader.c @@ -837,7 +837,7 @@ struct Rom { uint8_t *data; MemoryRegion *mr; AddressSpace *as; - int isrom; + bool isrom; char *fw_dir; char *fw_file;