Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2751395imm; Sun, 30 Sep 2018 04:14:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV61O0W2BgvwP23GYaYuPrzcJ0XOAhZBQnj/ocAWlz6aja2QbeqUmbORiIWipBWHD10ofPT6R X-Received: by 2002:a63:f553:: with SMTP id e19-v6mr6167277pgk.417.1538306058826; Sun, 30 Sep 2018 04:14:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538306058; cv=none; d=google.com; s=arc-20160816; b=qO3JHMSmgc60sppAAFiL2+NTXPNDsV0JEW4ZMQK2ROKyRV613TNxqydQDG1foIZpug PJ+cN/uBc5Hx1z8aGb3rOyR8+dPEJhxdU6vCiPPVikX0oDWhtgvp6DnjqwH6NXMQNgCI lQWiktcdVkxHcO7zPOEhQGJE5/EHxZxOAxK1iJoMRGnr5U7G65P1X5hdllpkEFVFllob ruBnkowAhDMTu4m6e9/DeeszR7oue8/Ab0WfgzmLSx1LNrSiFUYx+OzA4F32v+eKYno9 RDWl/Z2Rbh73ztFTrC9YgRqJSRznEoAS5HNXalXw9rzOaEuXSYRyw8M3slD/2ES81VUd mLew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=BZc4TX06dDpgdIGafOY81Qt0PHB7lsXPf/GX6Jhu2zY=; b=pSscDfswpi2OSjyXE2M/mhl7ynsfQDYOcGvTtVH+j1mtURld+V+2EzSRK6cQxfB0ng Vz4wmj5C18CIIbw6QJThi9iItCx6YT7ezMqCrwYT3QHD1IuYDB/umRSSX9JXTFRQYz3J 2WnFbjATOKNyJ7B+FESNOeYiymRP2kJVo8GDT6BuQw8YMJr6oecq2pFicjeJ0F5nGShM AAnjc/McuXsNN9BggA8VZVtMOFP/5rbKSg7yNHI/rb+OKTWmZwy2tWw2ZkCSkYKWDIeC +Yea8aWMAvYE6nzDWFCTNxeeWezjAEzAuOdwviGHPK8q+s6BeEhRFxYT7Re+/eBxh2P0 pybA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c8GRaYJd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 30-v6si9920852pla.282.2018.09.30.04.14.04; Sun, 30 Sep 2018 04:14:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c8GRaYJd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728322AbeI3RqY (ORCPT + 99 others); Sun, 30 Sep 2018 13:46:24 -0400 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 Received: by mail-qt1-f193.google.com with SMTP id l9-v6so663748qtf.5; Sun, 30 Sep 2018 04:13:47 -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=BZc4TX06dDpgdIGafOY81Qt0PHB7lsXPf/GX6Jhu2zY=; b=c8GRaYJdQFuMRErsPrmrZlLaGJV03+QmqR21s+Jgw34s73qjupJ5zmo7Qhw2FcqbA+ O4J29cASVGg2ubkLBl0uZmhv195ZGWg6jbe1sk5GlKVwo5hcLrbNPxSBX7ESiJSOEYAm 3dXIbt1IaHD6Sc18K91VynXZ4vNRZvhjl0/DmXpX49HQoH2Vh80/Gim2q5q+4qsehFfD V9LtyPxPlNG2trxxn+9NK1AytY5V7IvF0cbddOV1HMc8bOsrhKZPgSV5fa/5ANxT/LRq Zp1hsd2Jfdj2BQot6safwuRHefoseEID/mLKsB6BOSHsk9ujpwPWSOAD0pBESv+pqz+s 343A== 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=BZc4TX06dDpgdIGafOY81Qt0PHB7lsXPf/GX6Jhu2zY=; b=idNs8ix4taZob2MMkIitAG8zjKXFwTlTIIvRjugTgKvxB30UiUz9/YUPhYTu17hT3+ vxidhU9bI2/oIXFYt/PwWlrS/0l45jPCrm5NVB4+1JmXyrXTiSClbP80qkJL+CTHsc/l IJOHNozEgcZYb9eo3TPYATwKvkqbt81yjkP+tDUZJcQwcX4V0DYlTQazcAvJw4YOzqFo U6kHlNRmWGCWFT8BFXr4QyrqJFAONMD8EKkTw5jBZAqvVefmE16DQNLcpOF5NEkZtyMc 19l5C9BloG41FxsmMXZK7bexvWrn/MfROa0QiJ9TIwPatuTqyP6SYhjCJ2yF/QhxVxP0 p4jg== X-Gm-Message-State: ABuFfogB3OwFdv0zxuOPTzHRhSfS4/W8VBZuzPrgBBNKlhqwsD9xPNU7 9a6IK67yXa3Kx3h6eHoL2gkwTMDv36zn+pA140c= X-Received: by 2002:ac8:435b:: with SMTP id a27-v6mr4719883qtn.295.1538306027553; Sun, 30 Sep 2018 04:13:47 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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