From patchwork Thu Jul 8 19:09:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 471323 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp599156jao; Thu, 8 Jul 2021 12:49:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6mtaOj61HcCb2Pi2GhPfYN7lepggl1U79xB3Oq567OP/aU1e8jd0i9digivC6GXi77vH4 X-Received: by 2002:a5d:850d:: with SMTP id q13mr24508169ion.3.1625773746141; Thu, 08 Jul 2021 12:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625773746; cv=none; d=google.com; s=arc-20160816; b=wz411vJEqQqvQ49/effsa2RlDf+8bpMCot4v0kfjs5PaO6HL9iJ4wrjgmHWvXSdV/G DtqUmqtXa6+vgyxa0+R6bAaJrdnhhoob+tmvZYTBylXDdtrPhOR3MMnPlATbf0VBc8+H +605W0B27yiqanqGIxqmvyPUq2l3zWeK4KFVC+UmNeSOBNd/J7lFadREWAUeNfzs5AL1 4qxRSPhg1hyWfvQZEHtnN1CnvrYhBm+Z4PHDwbXsOGy4j8UzaLs+FEj8MHhnh9S5IGII xRz3I0PKGxtmyV6f0Gs+y8My6ijPysJjFhk8HVs1sob/IyLs2zb5K9tHhe6Z8RNR+5NS eXZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=iRi7K6m52E48PuR0TYg29XhKTFnAlwfy+AuYcl9pk14=; b=K5F8nldD2lVTRG+bXBr0KGUfAGcJljzHzLrS9OJe+DeirgJVQkXYKJASlkbFkmmSMf RwI+cw9NzJOAsCei5HDJg7KLiFm88oanvlcco1N6YRtPAnomescmTPtlesDFKzmBOEUz x4bLqH2jRfl53qckGL5qxJEHBov4/6IXAl+dvwKsJ6ffnjcuCtYxyzwYJK1+zIaqyPYc eBrwN41LxykhOP5Q4ZTdbysBP7Z/lGLqTJHKcasyMsl5iqLwxAEEFW/oJI36MV7xSGtT IR08FY9T6s5QAFTzdT4wwLWM/0J0ABwTLeXYZVfsUIwee396gOvLAFyvmAnd0YPsLJlS d/OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Wk74hF96; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id w3si3104666jap.29.2021.07.08.12.49.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Jul 2021 12:49:06 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Wk74hF96; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1a1B-0007Nj-H2 for patch@linaro.org; Thu, 08 Jul 2021 15:49:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1ZWQ-0002Be-AO for qemu-devel@nongnu.org; Thu, 08 Jul 2021 15:17:18 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:42644) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1ZWN-0007Ti-9O for qemu-devel@nongnu.org; Thu, 08 Jul 2021 15:17:18 -0400 Received: by mail-wr1-x435.google.com with SMTP id r11so3614020wro.9 for ; Thu, 08 Jul 2021 12:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iRi7K6m52E48PuR0TYg29XhKTFnAlwfy+AuYcl9pk14=; b=Wk74hF96FRpnkw6ok/mjGQ8a5LQMVJda4afHFAjCDghlFRnSHMm6e6FKNc1vjxlDJc HRaWBgRhygr+ddoSK0pcloPEpn4T/vkij+3rL+YxWf29PnKHJAQtjCmTHYZ+JZLoVgVT BO5w4qxW4ing87jeEtCjHNbT8fhd+uRjbk2FzDbbZ9pgnLu3F/ID5FIO1tFKX2GjE65O NM03lcOdzmACmWbJBaVGfUotm1e0zAdWjU4dszsNH5Mhu904fgG2J7AHxgY5t4FBTaEL SUoxDzHHZz7w4R/EJPu6z3wwtKheUJpMs1ZaLUwEUpkHuz3TjttxPp7NCJZws2RfevMN NgXQ== 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:mime-version:content-transfer-encoding; bh=iRi7K6m52E48PuR0TYg29XhKTFnAlwfy+AuYcl9pk14=; b=UQ0i6L8I6AkhRsvAubsfAx8HMQKMci5efD287+0l02m54PfdEH/L1qbjMhIpEUZ6JR XdrWTh/lWUM1AeO0tujv8hN2Row+hGr1lsJqIGL/e2yBwnwUareVVo8hQe0U5Tq1XMVA F4Zjymy91OCnODzdJigg/yp9YwmtF7K+7k/0V7QOtTRY6wEEpHA2HYx6I37ycAkVBs2N wVqDxtKPxOel46kN1vpwblxROSY+WOdBWKGYdCAbod0c8/0kvExm7MPpQhpWv4zl7U1c m8eYYx/TWr6ak1tStEkW+zhWg88TlD/gBal3p2phDpnJoX69ktupVnxKL5N8aB2etr// Uv/A== X-Gm-Message-State: AOAM530G+0ifY1xVZK3BZIjZXPFY351CIbijzHK6NHArcamlyqliB1Vq S5jSbG+t8fbGHmijmviXlmVywg== X-Received: by 2002:a5d:58d6:: with SMTP id o22mr5767562wrf.48.1625771833522; Thu, 08 Jul 2021 12:17:13 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id d8sm3122589wra.41.2021.07.08.12.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 12:17:11 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 68A391FFB8; Thu, 8 Jul 2021 20:09:45 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v2 32/39] contrib/plugins: enable -Wall for building plugins Date: Thu, 8 Jul 2021 20:09:34 +0100 Message-Id: <20210708190941.16980-33-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210708190941.16980-1-alex.bennee@linaro.org> References: <20210708190941.16980-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fam@euphon.net, Thomas Huth , minyihh@uci.edu, berrange@redhat.com, kuhn.chenqun@huawei.com, f4bug@amsat.org, robhenry@microsoft.com, mahmoudabdalghany@outlook.com, aaron@os.amperecomputing.com, cota@braap.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, ma.mandourr@gmail.com, Alexandre Iooss , =?utf-8?q?Alex_Benn=C3=A9e?= , aurelien@aurel32.net Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Lets spot the obvious errors. Reviewed-by: Thomas Huth Signed-off-by: Alex Bennée --- v2 - also $(filter -W%, $(QEMU_CFLAGS)) from the main build --- contrib/plugins/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Richard Henderson diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile index b9d7935e5e..3431bc1ce9 100644 --- a/contrib/plugins/Makefile +++ b/contrib/plugins/Makefile @@ -24,7 +24,7 @@ SONAMES := $(addsuffix .so,$(addprefix lib,$(NAMES))) # The main QEMU uses Glib extensively so it's perfectly fine to use it # in plugins (which many example do). CFLAGS = $(GLIB_CFLAGS) -CFLAGS += -fPIC +CFLAGS += -fPIC -Wall $(filter -W%, $(QEMU_CFLAGS)) CFLAGS += $(if $(findstring no-psabi,$(QEMU_CFLAGS)),-Wpsabi) CFLAGS += -I$(SRC_PATH)/include/qemu