From patchwork Tue Jul 6 14:58:10 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: 470464 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5093632jao; Tue, 6 Jul 2021 08:12:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8KU61m4P2PkJymMcPyD/F5jLI5zX1ihxqvY7s14S2mUq/jEK8g1e38DwI+hHLHSyRAsKr X-Received: by 2002:adf:fc50:: with SMTP id e16mr3129879wrs.31.1625584361733; Tue, 06 Jul 2021 08:12:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625584361; cv=none; d=google.com; s=arc-20160816; b=iYfB9o0tf5xh4XRQcR0JSLTLxxNxUHq9olv8WsWCccek9+XXdn/gCLfSUXBWHF3qkq e0+vXhdzIX/wS8lg6M9QO4aQ2YQt2YQCaTm2LV9mBh6f/YyBXz252kT197O/rMfAePR4 9f+LvsVBQFDqXDGm/owfX6QP2B02pe0FC7dk03ats0POfFUp3NNSUGt7sCJytqNRxaQ1 s9DjP+sAidADcm4xolaAqs49tnjFktt4XVd8umYaYybG+73QVdp0uQHbmkPS+qmoP+3g i6sTOrO/dyeK9bBBC0rbL631s8+m0Svq4UDm/SFYWVjR4+6J9I7SvKYvugGN0VXK/bg1 UTUQ== 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=R6IU1p4TeEKJjoh2orwJx/m6ECV4RVPwTG8bCIFZfuI=; b=hq8Csatx4t99Aka50OQKNDgyJh1Wbvr9JF6VMjdyJKGWyja3pGKq0vs7D2JBBrlrrQ 7ZZ3spNoeqiBiBzUPSnRAb/4nqE0zMtcW9tzcMYNnvZnorjoOXzWp1VbOrCytLTwbU4O FQaoaFuQTyBRklWOwh3BxkTybk2cF+JpvU8fw3y1N/xSE91N5+AN0h38yJI/dfYcGwgG mFQTw5s7IaSWMt+eokS9i3KlywZrNDkj3S+FRdARDRns8EW2o+8HQprsTJSSqNldp2br CQBe7qMJnrc71opChmcBcreQsvU8TqVLcxKfvcVXU5RYoOug32NGdUS/eBtpM0Mc2dva PgPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=sXKlS7QM; 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 dh13si11026207edb.560.2021.07.06.08.12.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Jul 2021 08:12:41 -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=sXKlS7QM; 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]:33144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0mka-0007Fo-N8 for patch@linaro.org; Tue, 06 Jul 2021 11:12:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0mf7-000579-6q for qemu-devel@nongnu.org; Tue, 06 Jul 2021 11:07:01 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:36523) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0mf5-00072h-6x for qemu-devel@nongnu.org; Tue, 06 Jul 2021 11:07:00 -0400 Received: by mail-wm1-x32b.google.com with SMTP id t14-20020a05600c198eb029020c8aac53d4so5372667wmq.1 for ; Tue, 06 Jul 2021 08:06:58 -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=R6IU1p4TeEKJjoh2orwJx/m6ECV4RVPwTG8bCIFZfuI=; b=sXKlS7QMjSJftIpdVRMAQM1orzJ5oKvcGPZFGNBrOmKMfvQRqe9QNT+00dmRx27kks j9jCd+OcwNbW3BaPRYDrThxiXBcjoyLBgo1iK9rUKz6ztNd8uIgsIoyWeF7k+1EM0zlj EEPr8G1For7VGTKNggDPXsOt5kPd4WsugoTMxZE9W1vYlgzhgjRcAh0UZM42P3eSvbw5 mohAH7pjhLZHflfeMeOlmaF69eFjhk9c+rziZ7/hHcE3RlDB6zJmwDDEGLmA4EHQz98s 4c2yj/yLZAe0GY5aLdFxZT8nABbpP7td0H91goIuZMPA3Ib1Pw23uTWCzoOaN4WefvKF Qo4g== 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=R6IU1p4TeEKJjoh2orwJx/m6ECV4RVPwTG8bCIFZfuI=; b=d/9vEGXHlKWGgw+YxIAMpiQbC52u4wV5gV21V3J4aK1Tbr7AVNvEoAa42iNNx8Ekqv l/owx9Jlvt/8l1zLWJSwC9R/9aqNWT966Wlvv7IesfY78MwN21hsZA2HDBFzK7hfxYFk LtPluKQ/SJiG3xQnutY/fnwwdP+pyRnbjTVXrU+NlPbAbpOz/P6S4HNT2DB3zOKAxnu5 Ep8aPT+wLUt0gXTtw9C1yYALtBlIo9S0JHRP0KTOEFjzySHATM4XnTxCqaq4b33rSiOW IxUYCf71KdWKYwR70ze5VdROVagNk0AZazpOAbCi4Srvxt4tSX8Qut1yClpgCtAoXlp5 BCXQ== X-Gm-Message-State: AOAM530r3NL+VCpAK6sC/wpPwavYmfgofvbC1Cy6AJ+kCxxohXWw3mh/ Gnad9I43fNbcuwobcMMSSY21oA== X-Received: by 2002:a7b:cb53:: with SMTP id v19mr20605224wmj.127.1625584017818; Tue, 06 Jul 2021 08:06:57 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id h15sm16525030wrq.88.2021.07.06.08.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 08:06:56 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3A8011FFB8; Tue, 6 Jul 2021 15:58:21 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 32/39] contrib/plugins: enable -Wall for building plugins Date: Tue, 6 Jul 2021 15:58:10 +0100 Message-Id: <20210706145817.24109-33-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210706145817.24109-1-alex.bennee@linaro.org> References: <20210706145817.24109-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.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, berrange@redhat.com, f4bug@amsat.org, stefanha@redhat.com, crosa@redhat.com, pbonzini@redhat.com, Mahmoud Mandour , 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. Signed-off-by: Alex Bennée --- contrib/plugins/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 Reviewed-by: Thomas Huth diff --git a/contrib/plugins/Makefile b/contrib/plugins/Makefile index b9d7935e5e..17e6e2ec4f 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 CFLAGS += $(if $(findstring no-psabi,$(QEMU_CFLAGS)),-Wpsabi) CFLAGS += -I$(SRC_PATH)/include/qemu