From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Message-ID: <9b7f9c3aed7223e49def6e775d3b250aa780e562.camel@perches.com> Subject: Re: [PATCH v4 08/17] arm64/mm: Remove needless section quotes From: Joe Perches 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" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: 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 Message-ID: <20200629200312.H25OSa4sv0PV7lXsR62pyzxW6Z6lp7VJjLWg8WrTtrk@z> 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/