From nobody Mon Feb 9 00:42:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1553351349579694.0037364209635; Sat, 23 Mar 2019 07:29:09 -0700 (PDT) Received: from localhost ([127.0.0.1]:44008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7he0-0001eo-LY for importer@patchew.org; Sat, 23 Mar 2019 10:29:08 -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) 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) 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) 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Clean up wrong usage of FALSE and TRUE in places that use "bool" from stdbo= ol.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 als= o 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 --- 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 *qt= s, assert(qts); =20 /* tests cannot use spapr, needs to be fixed first */ - qpci->bus.has_buggy_msi =3D TRUE; + qpci->bus.has_buggy_msi =3D true; =20 qpci->alloc =3D alloc; =20 --=20 2.7.4