From patchwork Sat Mar 23 14:26:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jafar Abdi X-Patchwork-Id: 10866849 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 233551390 for ; Sat, 23 Mar 2019 14:28:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09C962A20E for ; Sat, 23 Mar 2019 14:28:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F242A2A21E; Sat, 23 Mar 2019 14:28:34 +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=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A9C792A20E for ; Sat, 23 Mar 2019 14:28:34 +0000 (UTC) Received: from localhost ([127.0.0.1]:44008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7hdS-0001eo-1l for patchwork-qemu-devel@patchwork.kernel.org; Sat, 23 Mar 2019 10:28:34 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7hc0-0008FM-Be for qemu-devel@nongnu.org; Sat, 23 Mar 2019 10:27:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7hbz-00071M-Dp for qemu-devel@nongnu.org; Sat, 23 Mar 2019 10:27:04 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:44689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7hbz-000715-63; Sat, 23 Mar 2019 10:27:03 -0400 Received: by mail-wr1-x443.google.com with SMTP id y7so1213141wrn.11; Sat, 23 Mar 2019 07:27:03 -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:in-reply-to:references; bh=PJLrj79ba0XoRIgoLj/HOtyYLp3D2unK1uQaI+vYwlA=; b=TPXn/qIKz5bvFSk1VDL4IhCNwvFKi7gi3rRE+dZLTqj+C3klh6X6FM++pt3WwzAoKj ZHSMLnM4rydNUdh5KS1H6OjxzWZnIsc7MAShlYoWelP9jTEvTOT3tElT03cUI2VKdl3K YuxOwaNonhdUjnRXj2hOKgN2j7AYN/foab2MfXIB6Hn40yayxyDecWdgWgGtEC6fIJp1 CikzJzoad11nlyuIEMdyBHY2lstSkJQRctOFQCQbqK0ty4YhzWs4xeEITpCrgaekJzM0 8XOo+QB03VYdxzoVlel0JaRjw/PX6u8oVjxh8Nii6y+wfxxP3dvTHokHZ8WODXFiOxB7 B+7Q== 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:in-reply-to :references; bh=PJLrj79ba0XoRIgoLj/HOtyYLp3D2unK1uQaI+vYwlA=; b=L3oktppASaWxXQ7eG2WzlXyqfBqoNj9sdT3R82EzKfDt0PtG0cQSsJZCD0IvmzS7VF /pZ8K77DqI6Lks4qwepXnoy5J9DkpHLDMCKzKkIpVUJC7tuoW26NQxNBDIVZ5RSnFUtv 2hl1ifS/OD5mIhzNdC4tt+HXy3dODiH+cMtKrBZ/1c3wSsqIAMNt5e7loh71XKC5aHEp 7zoFIDoWv2dCix50uPIIcY0xSH48fa4RHcCb2Q0Jf2qgoKzcmtNJttjx+uaWRcn2lkce sQ6nfhyU41OZNdJIv4R9GbZNgTFu0BAfxIcdppnKs9OJ/A0iC/0uk67iLV+837fZIESc bB1w== X-Gm-Message-State: APjAAAUME1amvNzVz47PUzVqvtJ/+kCw6s/ByxXu/Y2pTnlJ5677FWUj i8TtYmdj2LS5vhxzrX9yHO+ADO9TKu5zPg== X-Google-Smtp-Source: APXvYqwHUurL8lke8lyFy8oy/ChdTNTwCyfATUYc6YW0sptIgnkj7DCBK0mvjbr64T2QO1vCWM0aGg== X-Received: by 2002:a5d:4047:: with SMTP id w7mr6661384wrp.255.1553351221910; Sat, 23 Mar 2019 07:27:01 -0700 (PDT) Received: from localhost.localdomain ([78.166.192.6]) by smtp.gmail.com with ESMTPSA id b3sm13823214wrx.57.2019.03.23.07.27.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 23 Mar 2019 07:27:01 -0700 (PDT) From: Jafar Abdi To: qemu-devel@nongnu.org Date: Sat, 23 Mar 2019 17:26:36 +0300 Message-Id: <1553351197-14581-4-git-send-email-cafer.abdi@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553351197-14581-1-git-send-email-cafer.abdi@gmail.com> References: <1553351197-14581-1-git-send-email-cafer.abdi@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH V2 3/4] tests/libqos: fix usage of bool in pci-spapr.c 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: Laurent Vivier , Thomas Huth , Jafar Abdi , stefanha@gmail.com, "open list:sPAPR" , Paolo Bonzini , jusual@mail.ru, David Gibson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Clean up wrong usage of FALSE and TRUE in places that use "bool" from stdbool.h. FALSE and TRUE (with capital letters) are the constants defined by glib for being used with the "gboolean" type of glib. But some parts of the code also use TRUE and FALSE for variables that are declared as "bool" (the type from ). Signed-off-by: Jafar Abdi Reviewed-by: Eric Blake Acked-by: David Gibson Reviewed-by: Thomas Huth Acked-by: David Gibson --- tests/libqos/pci-spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqos/pci-spapr.c b/tests/libqos/pci-spapr.c index 6925925..58ba27a 100644 --- a/tests/libqos/pci-spapr.c +++ b/tests/libqos/pci-spapr.c @@ -156,7 +156,7 @@ void qpci_init_spapr(QPCIBusSPAPR *qpci, QTestState *qts, assert(qts); /* tests cannot use spapr, needs to be fixed first */ - qpci->bus.has_buggy_msi = TRUE; + qpci->bus.has_buggy_msi = true; qpci->alloc = alloc;