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=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 E2065C433ED for ; Mon, 26 Apr 2021 17:26:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B086F61104 for ; Mon, 26 Apr 2021 17:26:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235883AbhDZR1H (ORCPT ); Mon, 26 Apr 2021 13:27:07 -0400 Received: from esa4.mentor.iphmx.com ([68.232.137.252]:62824 "EHLO esa4.mentor.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235241AbhDZR1G (ORCPT ); Mon, 26 Apr 2021 13:27:06 -0400 X-Greylist: delayed 430 seconds by postgrey-1.27 at vger.kernel.org; Mon, 26 Apr 2021 13:27:06 EDT IronPort-SDR: IWuO6eyjHRki6A3pxfdsGIsVmsPKnqlifC8wplSzx/+qP5I3zxq4uAwRWcSo7g9CTbV5hdofFE aTcO2AkC26BF0NYxz/Y8XQoeCD3BhdQzd5CSSxj+gZ8FYWwgmXouhhQzyc/C0g/R/jHCyjjDGj QCzEQAMwFIaDp5Ec1KiD9IC9H/eR79YBUSS5LJ9O9KvrfmQpzUYVZGbHtwC6iR1FzgSUeueu+K o0faHhCdDbQoDR73sBVyge7xzecRTeUPTFJj+i8xrkVYwLN8vMIuoZg8oQ6JN6GEJ7uqhsYOQC MPM= X-IronPort-AV: E=Sophos;i="5.82,252,1613462400"; d="scan'208";a="60674745" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa4.mentor.iphmx.com with ESMTP; 26 Apr 2021 09:19:13 -0800 IronPort-SDR: hVNETrJmdsECZoHvqs0DjVbjjB4D+FVH8Iv6VkjYfdaIaO8I/fMfTeTxmZEaYWZK0+0oZOslIy rkFFwcx5JLTZjNDafr0h5Xm3ROGNwoPTkQWvFFSOnsmAxgTzeUq8I7qGK6va6YNLzIEIzpPEuD NHU/lnukVsVThxiM3eWNlBTFE5KOo2TrqOiDyrgklcDyyTty4gAbsGd0jnHUYhllbOOAayZuGx 181tpRt3FgW8A46M5RsNr3LEMnyOgk1XGLT1oaxWdpjoJsROj7yUWR9rSaCN5q2FxnSw3eecrf OOU= Date: Mon, 26 Apr 2021 17:19:07 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Alejandro Colomar CC: , , , , Subject: Re: [RFC] bpf.2: Use standard types and attributes In-Reply-To: <20210423230609.13519-1-alx.manpages@gmail.com> Message-ID: References: <20210423230609.13519-1-alx.manpages@gmail.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 24 Apr 2021, Alejandro Colomar via Libc-alpha wrote: > Some pages also document attributes, using GNU syntax > '__attribute__((xxx))'. Update those to use the shorter and more > portable C2x syntax, which hasn't been standardized yet, but is > already implemented in GCC, and available through either --std=c2x > or any of the --std=gnu... options. If you mention alignment in the manpage at all, the same reasoning would say you should use _Alignas(8) not [[gnu::aligned(8)]], in any context where _Alignas is valid. -- Joseph S. Myers joseph@codesourcery.com