Return-Path: Received: from mail-wm1-f67.google.com ([209.85.128.67]:36852 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727835AbeJVB3e (ORCPT ); Sun, 21 Oct 2018 21:29:34 -0400 From: Miguel Ojeda To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Miguel Ojeda , Dan Carpenter , 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 , Andrew Morton , Linus Torvalds , linux-doc@vger.kernel.org, linux-ext4@vger.kernel.org, linux-sparse@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 0/2] Compiler Attributes: __fallthrough Date: Sun, 21 Oct 2018 19:14:12 +0200 Message-Id: <20181021171414.22674-1-miguel.ojeda.sandonis@gmail.com> Sender: linux-ext4-owner@vger.kernel.org List-ID: These are two patches are meant to go on top of the rest of the compiler attributes series on: https://github.com/ojeda/linux/tree/compiler-attributes which will be sent to Greg for the next merge window. Please review them and let me know! (specially if someone is against __fallthrough for some reason :-). The first patch introduces the attribute and gives the rationale. The second patch is an example of usage. This was started in the following thread: https://lore.kernel.org/lkml/20181017062255.oiu44y4zuuwilan3@mwanda/ Cheers, Miguel Cc: Dan Carpenter Cc: Andreas Dilger Cc: Masahiro Yamada Cc: Michal Marek Cc: Steven Rostedt Cc: Mauro Carvalho Chehab Cc: Olof Johansson Cc: Konstantin Ryabitsev Cc: David S. Miller Cc: Andrey Ryabinin Cc: Kees Cook Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Paul Lawrence Cc: Sandipan Das Cc: Andrey Konovalov Cc: David Woodhouse Cc: Will Deacon Cc: Philippe Ombredanne Cc: Paul Burton Cc: David Rientjes Cc: Willy Tarreau Cc: Martin Sebor Cc: Christopher Li Cc: Jonathan Corbet Cc: Theodore Ts'o Cc: Geert Uytterhoeven Cc: Rasmus Villemoes Cc: Joe Perches Cc: Arnd Bergmann Cc: Dominique Martinet Cc: Stefan Agner Cc: Luc Van Oostenryck Cc: Nick Desaulniers Cc: Andrew Morton Cc: Greg Kroah-Hartman Cc: Linus Torvalds Cc: linux-doc@vger.kernel.org Cc: linux-ext4@vger.kernel.org Cc: linux-sparse@vger.kernel.org Cc: linux-kbuild@vger.kernel.org Miguel Ojeda (2): Compiler Attributes: add support for __fallthrough (gcc >= 7.1) Compiler Attributes: auxdisplay: panel: use __fallthrough drivers/auxdisplay/panel.c | 6 +++--- include/linux/compiler_attributes.h | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) -- 2.17.1