From patchwork Fri Sep 24 12:53:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fuad Tabba X-Patchwork-Id: 12515265 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F3A8CC433EF for ; Fri, 24 Sep 2021 12:56:11 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C614061528 for ; Fri, 24 Sep 2021 12:56:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C614061528 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:References: Mime-Version:Message-Id:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Awb9V414mgWlfGoCNtcgSvPyoMiU8T+/zraoUpk0D/g=; b=Jgokt2DLt8PWsuQf5Y2w5NXYF+ 2sOewSoIgbyHyN4Hn5N98P5ztA+jUInz/o5TOLqnts6KCw/WtzeHphv7J/YY0t1C/ji2tmbfwzAWw YCjVUTkYbqax2XsZPOIvARJLls35g6GFCkcsDj3X6ep5y1PA6F8QTu1oI2gS1HHIo1EfS/pHspqZx groKJHcIxubZnOQwWr9CnlJpFxgReHAvgcwfBXxsxanyaMpHrZLpmXZ1OAud411+Jpisj8juE3+iQ j7xYuWLJkWkM4DgbgXNF1Sa2lPJXwDGrJr/Z+MhlPkerHh72K3foMrNRSN5s/U22eboJLguoVl08O TvLVeuUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTkis-00EMAZ-AW; Fri, 24 Sep 2021 12:54:38 +0000 Received: from mail-wr1-x449.google.com ([2a00:1450:4864:20::449]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mTkiO-00EM0k-3J for linux-arm-kernel@lists.infradead.org; Fri, 24 Sep 2021 12:54:09 +0000 Received: by mail-wr1-x449.google.com with SMTP id x7-20020a5d6507000000b0015dada209b1so7958220wru.15 for ; Fri, 24 Sep 2021 05:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=mlMa5h5NI5jeUNwNwY7Kha/NGSkd/By+lOHKgGZzb0o=; b=SWEU9RA66/WxWXSbnVeHag8LsLPsWo8oCMibTA60uonOa2NMI7kIs3aQaiEtrgWRHO DkA5OZF8LVYzQT/cr+FTPum/wkwXOpSGn6mBFh8390Hiu7bF6dK1T2mmYPopzXIWmMyg ByH+xHvE1XIot1qXxE5Yurw1SAV9R/bSIpEHsErE6bNWq+FTIeI0q3cHMP95HMCchKHy /07xpwd4F+PMcWHR7BQjwKn6vitYvJfybxPNVHcL9VT68KII8o60yJbc7fP7HXCzKda3 0SaLPyDqoC4Fh2pYJUv7rcuaRI3FlofdyqHQc/x/5vPvpDmPLw8FioGLue3WQ2c6a5dA 5IZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=mlMa5h5NI5jeUNwNwY7Kha/NGSkd/By+lOHKgGZzb0o=; b=nn6D/aClQqjMWnr7P2estlKSGtL76epQ26jNxQ1Gwqqd6wLCPyt78JytI1REvgib/v batzzQ312KqbL4WvLrU/tSBIbkwZsac4NQzqXmf32iPPfIidi6zyM+ocaoIu+vqxRQ6F mnhd+8YhzUzEn8W4RmA5lTHeh8w+8NjuB5gWpzvLd5RmmdPTDn+PryrOLRBDkF5K8NNP GVyZwCWNT5PpeL71Gs3A7rCpLYeeNPtV5iKp3pV3IiTJPS7Een0OBvLiuEhY/lSzOcQx LCUATyXUPCsi5dbJe0DDBWN+cTkSDSQ1WI2u0zTZxziACnr4WpNE6sPVstXyFzz9u8jq seiw== X-Gm-Message-State: AOAM532YNmZ6tbQKjAyZlmMKFy2G/tAowePqH5+wFtYlVraz4R1pJCds M3+fNCktT+TrDodvO1sU8iVvtV0O3Q== X-Google-Smtp-Source: ABdhPJx6zVX5jtlMJbOyL+BbcPj3DUM9DjQf7WdSun6TSGOTKmjY7ZrgMDMtNn5ZOQ8+TC/ja/ahR0SWWQ== X-Received: from tabba.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:482]) (user=tabba job=sendgmr) by 2002:a5d:598f:: with SMTP id n15mr11204398wri.74.1632488046306; Fri, 24 Sep 2021 05:54:06 -0700 (PDT) Date: Fri, 24 Sep 2021 13:53:31 +0100 In-Reply-To: <20210924125359.2587041-1-tabba@google.com> Message-Id: <20210924125359.2587041-3-tabba@google.com> Mime-Version: 1.0 References: <20210924125359.2587041-1-tabba@google.com> X-Mailer: git-send-email 2.33.0.685.g46640cef36-goog Subject: [RFC PATCH v1 02/30] [DONOTMERGE] Temporarily disable unused variable warning From: Fuad Tabba To: kvmarm@lists.cs.columbia.edu Cc: maz@kernel.org, will@kernel.org, james.morse@arm.com, alexandru.elisei@arm.com, suzuki.poulose@arm.com, mark.rutland@arm.com, christoffer.dall@arm.com, drjones@redhat.com, qperret@google.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel-team@android.com, tabba@google.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210924_055408_166450_FA913D0B X-CRM114-Status: GOOD ( 10.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Later patches add variables and functions that won't be used immediately. Disable the warnings until the variables are used. Signed-off-by: Fuad Tabba --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed669b2d705d..0278bd28bd97 100644 --- a/Makefile +++ b/Makefile @@ -504,7 +504,7 @@ KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \ -Werror=implicit-function-declaration -Werror=implicit-int \ -Werror=return-type -Wno-format-security \ - -std=gnu89 + -std=gnu89 -Wno-unused-variable -Wno-unused-function KBUILD_CPPFLAGS := -D__KERNEL__ KBUILD_AFLAGS_KERNEL := KBUILD_CFLAGS_KERNEL :=