From patchwork Fri Oct 5 11:32:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miguel Ojeda X-Patchwork-Id: 10627903 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 12D5F112B for ; Fri, 5 Oct 2018 11:32:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3B4028C72 for ; Fri, 5 Oct 2018 11:32:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E6D0828C90; Fri, 5 Oct 2018 11:32:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87A4628C72 for ; Fri, 5 Oct 2018 11:32:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728283AbeJESbA (ORCPT ); Fri, 5 Oct 2018 14:31:00 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:45622 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727581AbeJESbA (ORCPT ); Fri, 5 Oct 2018 14:31:00 -0400 Received: by mail-qk1-f194.google.com with SMTP id m8-v6so7665814qka.12; Fri, 05 Oct 2018 04:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=t/iFC8Pcj1eF9sD0qlwu60t61PqTsPMrYHkQvjGK2Sg=; b=GYYY0I+0ZEcHhQhTJ+kZgTPhZSJhqbc4hGqNZnxcVFQyBOHOgri9b56xrHmDFKsQic AhkISHFZq0r21Zx8Io4f4Qtz54uZN4eyf4VdH3Kr1f3iaMotW8rwVfzUbLfYjK8wOSb2 1d/rUZ2/2aXCIswuGNFK5Q875NIHWL8yuyYclVpNnHnZZtZ2IS4pDsFvCi8q3iGPWwxU G+AidkZPr7QGWawsqXxB7UKzsVyNohmlJIV+peX6/k6IyyvzzcD4PbeB8+M794eCjAxw ZAJWiot2b4o+fxOq5LX6sjLGtQ2KYkDMcIp+5H3EPQrGht7QuuSiJnueHD5D8Zb7cCXb oy2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=t/iFC8Pcj1eF9sD0qlwu60t61PqTsPMrYHkQvjGK2Sg=; b=jtHB5EnrjC3IVuyFsHM5Uur0ezRiDr+l1/cPJUOoVJwRd80jawvX6VUKiZQqse66Dm K4EAYkOCbt9Ew2nZqdmbdNQJr761BVm+WulE/QFCoQTvuei24m85QNh+MKGEcWHHUSnk /OVqkbfcFraRhkHc6IjtwOATNps8xYxJaSAkw0gJFMIosGKnPBIOLSFpQ0QK/bEqgfNL PxlV/op6L8UcCkaBZ/Jmrl+0MHaCSZrFV9L0kWKgfAy4zgedvU+t9kXmg9bLV4vdmi+h cWgLXHieuXAX43BKAhT2kkBTylBhA/GgHyFVPNFGFtCjrf8e0jOzcNjcbVUd7CrG480V C+8A== X-Gm-Message-State: ABuFfoiysVLxIFIIDXiys9rX4jwQKN87omxguQIqQOm38ixR3zRESadI MR13Br5vv38JhzIHl2g/N8Zdjj2NR+Gt0tMQNpI= X-Google-Smtp-Source: ACcGV60ASAFV3bazoyOhyC8WCMJGfdKgNT2YGvo1NnVmcn36poo609H6UkEQDw6juzkaoiGE0EEg1IHI92M4P95yq6U= X-Received: by 2002:a37:7a05:: with SMTP id v5-v6mr8455036qkc.129.1538739156777; Fri, 05 Oct 2018 04:32:36 -0700 (PDT) MIME-Version: 1.0 From: Miguel Ojeda Date: Fri, 5 Oct 2018 13:32:25 +0200 Message-ID: Subject: [GIT PULL linux-next] Add Compiler Attributes (v6) tree To: Stephen Rothwell , Andrew Morton , Greg KH , Linux-Next Mailing List Cc: Andreas Dilger , Masahiro Yamada , Michal Marek , Steven Rostedt , Mauro Carvalho Chehab , Olof Johansson , Konstantin Ryabitsev , "David S . 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 , "Theodore Ts'o" , Geert Uytterhoeven , Rasmus Villemoes , Joe Perches , Arnd Bergmann , Dominique Martinet , Stefan Agner , Luc Van Oostenryck , Nick Desaulniers , Linus Torvalds , Linux Doc Mailing List , Ext4 Developers List , linux-sparse@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Stephen, As discussed, here it is the Compiler Attributes series for linux-next. This time the original v6, based on -rc6. The changes w.r.t. v5: - Added latest Reviewed-by's and Tested-by's. The conflicts are trivial to solve, but if you want a reference, take a look at (rebased on top of next-20181005): https://github.com/ojeda/linux.git compiler-attributes-rebased Thanks! Cheers, Miguel The following changes since commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38: Linux 4.19-rc6 (2018-09-30 07:15:35 -0700) are available in the Git repository at: https://github.com/ojeda/linux.git compiler-attributes for you to fetch changes up to f0604f63033d4020f019d2aaee805c1075b1077b: Compiler Attributes: ext4: remove local __nonstring definition (2018-09-30 20:14:04 +0200) ---------------------------------------------------------------- Miguel Ojeda (15): Compiler Attributes: remove unused attributes Compiler Attributes: always use the extra-underscores syntax Compiler Attributes: remove unneeded tests Compiler Attributes: homogenize __must_be_array Compiler Attributes: remove unneeded sparse (__CHECKER__) tests Compiler Attributes: add missing SPDX ID in compiler_types.h Compiler Attributes: use feature checks instead of version checks Compiler Attributes: KENTRY used twice the "used" attribute Compiler Attributes: remove uses of __attribute__ from compiler.h Compiler Attributes: add Doc/process/programming-language.rst Compiler Attributes: add MAINTAINERS entry Compiler Attributes: add support for __nonstring (gcc >= 8) Compiler Attributes: enable -Wstringop-truncation on W=1 (gcc >= 8) Compiler Attributes: auxdisplay: panel: use __nonstring Compiler Attributes: ext4: remove local __nonstring definition Documentation/process/index.rst | 1 + Documentation/process/programming-language.rst | 45 +++++ MAINTAINERS | 5 + drivers/auxdisplay/panel.c | 7 +- fs/ext4/ext4.h | 9 - include/linux/compiler-clang.h | 5 - include/linux/compiler-gcc.h | 70 +------ include/linux/compiler-intel.h | 9 - include/linux/compiler.h | 19 +- include/linux/compiler_attributes.h | 258 +++++++++++++++++++++++++ include/linux/compiler_types.h | 101 ++-------- scripts/Makefile.extrawarn | 1 + 12 files changed, 341 insertions(+), 189 deletions(-) create mode 100644 Documentation/process/programming-language.rst create mode 100644 include/linux/compiler_attributes.h