From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731827AbgF2U3u (ORCPT ); Mon, 29 Jun 2020 16:29:50 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 302B5C03E979 for ; Mon, 29 Jun 2020 13:29:50 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id j19so1964521pgm.11 for ; Mon, 29 Jun 2020 13:29:50 -0700 (PDT) MIME-Version: 1.0 References: <20200629061840.4065483-1-keescook@chromium.org> <20200629061840.4065483-9-keescook@chromium.org> <9b7f9c3aed7223e49def6e775d3b250aa780e562.camel@perches.com> In-Reply-To: <9b7f9c3aed7223e49def6e775d3b250aa780e562.camel@perches.com> From: Nick Desaulniers Date: Mon, 29 Jun 2020 13:29:38 -0700 Message-ID: Subject: Re: [PATCH v4 08/17] arm64/mm: Remove needless section quotes Content-Type: text/plain; charset="UTF-8" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Joe Perches Cc: Kees Cook , 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: <20200629202938.Bpk-wu95d0qd08kJvaol3zeCNQAkVB2TuH-W5Zs3Efs@z> On Mon, Jun 29, 2020 at 1:03 PM Joe Perches wrote: > > 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/ Hey, yeah! Did you end up sending v2? -- Thanks, ~Nick Desaulniers