Return-Path: Received: from mail-qt1-f193.google.com ([209.85.160.193]:38493 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728145AbeI3RqY (ORCPT ); Sun, 30 Sep 2018 13:46:24 -0400 MIME-Version: 1.0 References: <20180920172301.21868-1-miguel.ojeda.sandonis@gmail.com> <20180924143608.aiyehiibgc7isk7k@ltop.local> In-Reply-To: <20180924143608.aiyehiibgc7isk7k@ltop.local> From: Miguel Ojeda Date: Sun, 30 Sep 2018 13:13:36 +0200 Message-ID: Subject: Re: [PATCH v5 00/15] Compiler Attributes To: Luc Van Oostenryck Cc: Greg KH , linux-kernel , Andreas Dilger , Masahiro Yamada , Michal Marek , Steven Rostedt , Mauro Carvalho Chehab , Olof Johansson , Konstantin Ryabitsev , David Miller , Andrey Ryabinin , Kees Cook , Thomas Gleixner , Ingo Molnar , Paul Lawrence , Sandipan Das , Andrey Konovalov , David Woodhouse , Will Deacon , Philippe Ombredanne , Paul Burton , David Rientjes , Willy Tarreau , Martin Sebor , Christopher Li , Jonathan Corbet , "Ted Ts'o" , Geert Uytterhoeven , Rasmus Villemoes , Joe Perches , Arnd Bergmann , Dominique Martinet , Stefan Agner , Nick Desaulniers , Andrew Morton , Linus Torvalds , Linux Doc Mailing List , Ext4 Developers List , linux-sparse@vger.kernel.org, linux-kbuild@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org List-ID: On Mon, Sep 24, 2018 at 4:36 PM Luc Van Oostenryck wrote: > > On Thu, Sep 20, 2018 at 07:22:46PM +0200, Miguel Ojeda wrote: > > The Compiler Attributes series is an effort to disentangle > > the include/linux/compiler*.h headers and bring them up to date. > > > > The main idea behind the series is to use feature checking macros > > (i.e. __has_attribute) instead of compiler version checks (e.g. GCC_VERSION), > > which are compiler-agnostic (so they can be shared, reducing the size > > of compiler-specific headers) and version-agnostic. > > > > Other related improvements have been performed in the headers as well, > > which on top of the use of __has_attribute it has amounted to a significant > > simplification of these headers (e.g. GCC_VERSION is now only guarding 4 > > non-attribute macros). > > > > This series should also help the efforts to support compiling the kernel > > with clang and icc. A fair amount of documentation and comments have also > > been added, clarified or removed; and the headers are now more readable, > > which should help kernel developers in general. > > > > The series was triggered due to the move to gcc >= 4.6. In turn, this series > > has also triggered Sparse to gain the ability to recognize __has_attribute > > on its own. > > > > Finally, the nonstring variable attribute series has been applied on top > > of this one. > > Hi Miguel, > Feel free to add my > Reviewed-by: Luc Van Oostenryck > on patches 11-15 (I think the others ones already have it). > Done for both Nick and you! Cheers, Miguel