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=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 83B8AC433DF for ; Mon, 29 Jun 2020 20:03:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6BE8220672 for ; Mon, 29 Jun 2020 20:03:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388745AbgF2UDU (ORCPT ); Mon, 29 Jun 2020 16:03:20 -0400 Received: from smtprelay0235.hostedemail.com ([216.40.44.235]:52858 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732683AbgF2UDS (ORCPT ); Mon, 29 Jun 2020 16:03:18 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id F14C2100E7B45; Mon, 29 Jun 2020 20:03:16 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: cough56_6201ffd26e72 X-Filterd-Recvd-Size: 2768 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Mon, 29 Jun 2020 20:03:13 +0000 (UTC) Message-ID: <9b7f9c3aed7223e49def6e775d3b250aa780e562.camel@perches.com> Subject: Re: [PATCH v4 08/17] arm64/mm: Remove needless section quotes From: Joe Perches To: Nick Desaulniers , Kees Cook Cc: Will Deacon , Catalin Marinas , Mark Rutland , Ard Biesheuvel , Peter Collingbourne , James Morse , Borislav Petkov , Thomas Gleixner , Ingo Molnar , Russell King , Masahiro Yamada , Arvind Sankar , Nathan Chancellor , Arnd Bergmann , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , clang-built-linux , linux-arch , linux-efi , Linux ARM , LKML Date: Mon, 29 Jun 2020 13:03:12 -0700 In-Reply-To: References: <20200629061840.4065483-1-keescook@chromium.org> <20200629061840.4065483-9-keescook@chromium.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.2-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-06-29 at 12:53 -0700, Nick Desaulniers wrote: > On Sun, Jun 28, 2020 at 11:18 PM Kees Cook wrote: > > Fix a case of needless quotes in __section(), which Clang doesn't like. > > > > Acked-by: Will Deacon > > Signed-off-by: Kees Cook > > Yep, I remember bugs from this. Probably should scan the kernel for > other instances of this. +Joe for checkpatch.pl validation. > Reviewed-by: Nick Desaulniers $ git grep -P -n '__section\s*\(\s*\"' arch/arm64/mm/mmu.c:45:u64 __section(".mmuoff.data.write") vabits_actual; include/linux/compiler.h:211: __section("___kentry" "+" #sym ) \ include/linux/export.h:133: static int __ksym_marker_##sym[0] __section(".discard.ksym") __used include/linux/srcutree.h:127: __section("___srcu_struct_ptrs") = &name My recollection is I submitted a patch to _add_ quotes https://lore.kernel.org/patchwork/patch/1125785/