From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 3170AC433E0 for ; Mon, 29 Jun 2020 21:00:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 12055206F1 for ; Mon, 29 Jun 2020 21:00:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="G5louE6U" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730558AbgF2VAz (ORCPT ); Mon, 29 Jun 2020 17:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731211AbgF2TM6 (ORCPT ); Mon, 29 Jun 2020 15:12:58 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 257E7C08EB04 for ; Sun, 28 Jun 2020 23:18:51 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id f2so6682079plr.8 for ; Sun, 28 Jun 2020 23:18:51 -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=IEpJZUL2zKr7lIdiVDgKh1+QIGerlTM9+mw6VH7qaF3T9TMGPnHhc6xt6HBUbnDgGI d1s/MUfkSM1LeOqI6vBYUPv+5P85XmST0GnOKTWbJTDLK52GQEYyVM6wyHUEW8ZSCudG A8eWN2Bn7rnyZGNIAwJFLJkaDPLGpInJqE2ZOEdKwUH02zX3KKKz+8oXOEGNvZ+0gwWm xHxzCZDepMNzxPUkOmQuoFXeWDbiwhQ0+NoKiaDF/eKWHmcF6+SOz6t7CJI+2l/VuQQK eBOC1O+131qt8HkS4qHQEmZKiIXUT5ISO+M8R0V938nV7l28BqCjNQ8YeIJqrnB+7+AH Pl6w== X-Gm-Message-State: AOAM530ma+TiwCAEjMKECzNObXKcxRlq5qUi5JmEFFQnPMQdY4FAeHzS U71d2MsuX+O6KLW7TX6SIEPKKw== 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 Cc: Kees Cook , Catalin Marinas , Mark Rutland , Ard Biesheuvel , Peter Collingbourne , James Morse , Borislav Petkov , Thomas Gleixner , Ingo Molnar , Russell King , Masahiro Yamada , Arvind Sankar , Nick Desaulniers , Nathan Chancellor , Arnd Bergmann , x86@kernel.org, clang-built-linux@googlegroups.com, linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a case of needless quotes in __section(), which Clang doesn't like. Acked-by: Will Deacon Signed-off-by: Kees Cook --- 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; -- 2.25.1 From mboxrd@z Thu Jan 1 00:00:00 1970 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=-10.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 D70D0C433E0 for ; Mon, 29 Jun 2020 06:21:46 +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 5D0D423131 for ; Mon, 29 Jun 2020 06:21:46 +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 5D0D423131 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+linux-arm-kernel=archiver.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-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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.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 --- 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; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel