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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C577FC433F5 for ; Sat, 2 Oct 2021 15:22:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A9B9761AAA for ; Sat, 2 Oct 2021 15:22:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233521AbhJBPX4 (ORCPT ); Sat, 2 Oct 2021 11:23:56 -0400 Received: from smtprelay0029.hostedemail.com ([216.40.44.29]:37466 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233508AbhJBPXy (ORCPT ); Sat, 2 Oct 2021 11:23:54 -0400 Received: from omf11.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id AE189182CED28; Sat, 2 Oct 2021 15:22:07 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf11.hostedemail.com (Postfix) with ESMTPA id 3E13B20A294; Sat, 2 Oct 2021 15:22:05 +0000 (UTC) Message-ID: <0cbd2549be1245b445796f6c57a27b910fa4dc9d.camel@perches.com> Subject: Re: [PATCH v4] docs: Explain the desired position of function attributes From: Joe Perches To: Miguel Ojeda , Greg KH Cc: Nick Desaulniers , Kees Cook , Linus Torvalds , Miguel Ojeda , Jonathan Corbet , Randy Dunlap , Alexey Dobriyan , Rasmus Villemoes , Andrew Morton , linux-kernel , Linux Doc Mailing List , linux-hardening@vger.kernel.org Date: Sat, 02 Oct 2021 08:22:04 -0700 In-Reply-To: References: <20210930235754.2635912-1-keescook@chromium.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.40.0-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspamout04 X-Rspamd-Queue-Id: 3E13B20A294 X-Stat-Signature: yanmkicwt4zwyzm7d6m19nhnm1p8j4c5 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1/U9EYoX2BCER/gqYqYndT+x8+0TM0IkdI= X-HE-Tag: 1633188125-535750 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2021-10-02 at 12:42 +0200, Miguel Ojeda wrote: > In the future, clang-format could have a configuration option to pass > a sort order, in which case, having the sort order already defined in > the kernel would definitely be helpful. It's not so much a sort order so much as it's a positional one.