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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 B38B6C388F9 for ; Fri, 23 Oct 2020 08:03:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 64C052223F for ; Fri, 23 Oct 2020 08:03:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S372248AbgJWIDX (ORCPT ); Fri, 23 Oct 2020 04:03:23 -0400 Received: from smtprelay0230.hostedemail.com ([216.40.44.230]:49598 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2898418AbgJWIDW (ORCPT ); Fri, 23 Oct 2020 04:03:22 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id 76F86182CED2A; Fri, 23 Oct 2020 08:03:21 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: sort57_5a0f0a927258 X-Filterd-Recvd-Size: 2339 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Fri, 23 Oct 2020 08:03:20 +0000 (UTC) Message-ID: <64b49cd3680f45808dad286b408e7b196c31ec79.camel@perches.com> Subject: Re: [PATCH] treewide: Convert macro and uses of __section(foo) to __section("foo") From: Joe Perches To: Miguel Ojeda Cc: Linus Torvalds , linux-kernel , clang-built-linux , Nick Desaulniers , linuxppc-dev@lists.ozlabs.org Date: Fri, 23 Oct 2020 01:03:18 -0700 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-10-23 at 08:08 +0200, Miguel Ojeda wrote: > On Thu, Oct 22, 2020 at 4:36 AM Joe Perches wrote: > > > > Use a more generic form for __section that requires quotes to avoid > > complications with clang and gcc differences. > > I performed visual inspection (one by one...) and the only thing I saw > is that sometimes the `__attribute__` has a whitespace afterwards and > sometimes it doesn't, same for the commas inside, e.g.: > > - __used __attribute__((section(".modinfo"), unused, aligned(1))) \ > + __used __section(".modinfo") __attribute__((unused, aligned(1))) \ > > and: > > - __attribute__ ((unused,__section__ ("__param"),aligned(sizeof(void *)))) \ > + __section("__param") __attribute__ ((unused, aligned(sizeof(void *)))) \ > > I think the patch tries to follow the style of the replaced line, but > for the commas in this last case it didn't. Anyway, it is not > important. Here the change follows the kernel style of space after comma. > I can pick it up in my queue along with the __alias one and keep it > for a few weeks in -next. Thanks Miguel, but IMO it doesn't need time in next. Applying it just before an rc1 minimizes conflicts.