From patchwork Mon Jun 29 06:18:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kees Cook X-Patchwork-Id: 11630483 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B1C75161F for ; Mon, 29 Jun 2020 06:21:51 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 8B3CF23131 for ; Mon, 29 Jun 2020 06:21:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="viHb/wIE"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="G5louE6U" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B3CF23131 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=phe5LmyJ3MYGIEmwSwagYE3IX+tRoiXqYs/R0F0OZXw=; b=viHb/wIEpKisigA9upFImZAB7 dK5bn9bFlcgahy1eq8GIRl+XDK+7BznE81Q1rUesttXH4wHqhNzyeBMQA5ENXidqmq7/IvAwVBt2C UaSP4ePlUyUUsUTvXV83MS0ouktTZhQyc5BsE7xAQS80b2X+1Mu0FvtTYDSyGx3dIDwspBtjpiGaq LYvbJhxZw11QDZcFqEYQ5gxFHBmR+JGsS1DO++wNc09iVpcUF3E9cbpKc07rl0Q0Zk+AaZ8JcqeXF Yce0nFcvvGclZAqSWB90MipBQBroXBJaU1PoDMWOseJD3GOqHHgsuTyaySnDvvN8vLGtfhkmY6J0T LkX7KAJLw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpn8k-00064x-Kt; Mon, 29 Jun 2020 06:19:38 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpn80-0005qN-RH for linux-arm-kernel@lists.infradead.org; Mon, 29 Jun 2020 06:18:59 +0000 Received: by mail-pl1-x641.google.com with SMTP id x8so5792280plm.10 for ; Sun, 28 Jun 2020 23:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T0P/zigfbEYVemiv+chkLi1sxk82Ehd4Rswu0BvpDuE=; b=G5louE6Uyd2kc+xV2J1VjkFKPj4o3+7iuP5vPYPCWk+r8gutkK73zgcof6KUBrCFWp NA/YHDMZXOj7EKNzEtTGayNRzAljV3w+YWfaERiAi1wGVtDGv2A1+AtbnH1n8Rlsjznr ZVcm+cqp/UVyef3E1570F2Ni4TsttMaQCB9Os= 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=T0P/zigfbEYVemiv+chkLi1sxk82Ehd4Rswu0BvpDuE=; b=SPcVrIb4jdF5lIYIgIC41CNhx3tH5iZG2tssTJKjN0TNvpZzy/azLV6s26Mge+HQF5 E0+r2U2+vBHz0qLlTGmR/eQECsVj/6yaOOPqBH+3zzoQojUL8tnfXDmWnjLNbe1aOkWA USIMNTWHFIeA0fii+YdqIuKvbgzM3NxbUDk+uvGE07+4DfsUDr3rATA8i6B8yE3co9Ps tZzWIw5YbUnARVGsDZQJ+Q0u2MezBOuOND6D3Q7adAUkbcGG8b/ES7OY+4p8JFprB82o eut072iO4ZTy0PA+kwXtfm2j/0Qgaq2QtWfn++dcpWsVxctoZSoFtlQHFF/hQF6sVpIS LfTA== X-Gm-Message-State: AOAM5300hSMPJ5dC5upN7mA7sysIL13DLj6p95bg8KlFOhyGFE+KtKpA pnmIuEasz43xCz7yVyFu1iIgYQ== X-Google-Smtp-Source: ABdhPJxGErTr5qdj/h+EXAH5O68jFfE2tqj+62XVCx45BXGt9Nz2IQt9L7atafYyKCZkdIT/G4UB5A== X-Received: by 2002:a17:90a:8a8b:: with SMTP id x11mr10404879pjn.127.1593411530770; Sun, 28 Jun 2020 23:18:50 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id mp15sm17957978pjb.45.2020.06.28.23.18.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2020 23:18:47 -0700 (PDT) From: Kees Cook To: Will Deacon Subject: [PATCH v4 08/17] arm64/mm: Remove needless section quotes Date: Sun, 28 Jun 2020 23:18:31 -0700 Message-Id: <20200629061840.4065483-9-keescook@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200629061840.4065483-1-keescook@chromium.org> References: <20200629061840.4065483-1-keescook@chromium.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:641 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 DKIMWL_WL_HIGH DKIMwl.org - Whitelisted High sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, Kees Cook , Arnd Bergmann , Catalin Marinas , Masahiro Yamada , x86@kernel.org, Nick Desaulniers , Russell King , linux-kernel@vger.kernel.org, Nathan Chancellor , clang-built-linux@googlegroups.com, Arvind Sankar , Ingo Molnar , James Morse , Thomas Gleixner , Borislav Petkov , Peter Collingbourne , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fix a case of needless quotes in __section(), which Clang doesn't like. Acked-by: Will Deacon Signed-off-by: Kees Cook Reviewed-by: Nick Desaulniers --- arch/arm64/mm/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c index 1df25f26571d..dce024ea6084 100644 --- a/arch/arm64/mm/mmu.c +++ b/arch/arm64/mm/mmu.c @@ -42,7 +42,7 @@ u64 idmap_t0sz = TCR_T0SZ(VA_BITS); u64 idmap_ptrs_per_pgd = PTRS_PER_PGD; -u64 __section(".mmuoff.data.write") vabits_actual; +u64 __section(.mmuoff.data.write) vabits_actual; EXPORT_SYMBOL(vabits_actual); u64 kimage_voffset __ro_after_init;