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.3 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 71C36C388F9 for ; Fri, 23 Oct 2020 06:10:33 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 31A182177B for ; Fri, 23 Oct 2020 06:10:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WB6pavCA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31A182177B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CHYkD5PdvzDqxs for ; Fri, 23 Oct 2020 17:10:28 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::b43; helo=mail-yb1-xb43.google.com; envelope-from=miguel.ojeda.sandonis@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=WB6pavCA; dkim-atps=neutral Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CHYhV3ZBbzDqxF for ; Fri, 23 Oct 2020 17:08:55 +1100 (AEDT) Received: by mail-yb1-xb43.google.com with SMTP id l15so276366ybp.2 for ; Thu, 22 Oct 2020 23:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XNjwNm9fr6MOiHhV0c7B5b4MJGULWGcLuUm+GanGsBU=; b=WB6pavCAYf594uliGhghOjMsImH7+PHOiF4EDnUqBF3cphrd0ogiBpHJA0MvxDEuOV 5hIT3vxfJjHJ3/HG0/VprgOT4tWaBuczd3BYiMdLKjD0hnodoQQWLx0tYK+XId22U4t3 08jfxtgX338IbUxZcR84Qttd6DQZ/3mgnYaSaOO8yawbpyMm+xS1RlJxbty+YICMk62g VNSYBDgK2KBkP59oFLxJOS3iHLB3VYycJezY5TWFIDFi57giyRunhJ9wAlrd/kC6r9NW Nun2D5o3KJH7cP8cRJ7q1kpvybWAv96qDLieU+aVZq//mvpZ71kk4EyaNAoC0aoaZcXk /X1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XNjwNm9fr6MOiHhV0c7B5b4MJGULWGcLuUm+GanGsBU=; b=uROCwjtKK/kRzzcDQQcxP1LtudWVNYpImq6SGqVu4l/35KU2T/ewEjEjHUxj7oTcZG FbOBK4YatgDPm+7PLXIH1xHWflfVvHulFHytXxU8jsvpIqRfE/lHg6qDomCmH85NXykf GAdXNNW682BKYkAYHPQD7UW+tjguTucipDgY6JyY3end3o4YjLuGG+g8xiir3FkHvjNO oA9v7ImLdWZPAFG3Pz2YPCLsLFpgvTqU2GlEHr8ybHi/RttDZYm6rSQEBVfihYPfF/XJ pFHxqOlCVumB/SsJA2uZKSkn7iJ2WvQaVxeSukNiZpFA1DAQs35T0iQqwjpYSpkcKTUN Vz+Q== X-Gm-Message-State: AOAM531RTu3C1TcsgRQohHWMYkgL8HLZGOdtEVSPcXqXooIPYdWX2W3U xpqucKWy9ZdJSWohWXZNyYV/+kXVvdAA4WlbyQs= X-Google-Smtp-Source: ABdhPJyteJdZySQkBUEdPJpikZOXrl9LNaw91BcX33OCHSsqxf7Q0oYYhHHdeAdTBBDZ3YWawx69oa7YI1V3OR38nYU= X-Received: by 2002:a25:d441:: with SMTP id m62mr1263586ybf.422.1603433333137; Thu, 22 Oct 2020 23:08:53 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Miguel Ojeda Date: Fri, 23 Oct 2020 08:08:42 +0200 Message-ID: Subject: Re: [PATCH] treewide: Convert macro and uses of __section(foo) to __section("foo") To: Joe Perches Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: clang-built-linux , Nick Desaulniers , Linus Torvalds , linux-kernel , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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. I can pick it up in my queue along with the __alias one and keep it for a few weeks in -next. Cheers, Miguel