Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1397275ima; Sun, 21 Oct 2018 10:47:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV60eGY7N31sYSmSghhGS1smbV2i9p96cJH1ZYCaU3SoAWz++DUvPwasn9vMoNlX1ioue25tm X-Received: by 2002:a62:2542:: with SMTP id l63-v6mr43630190pfl.64.1540144048252; Sun, 21 Oct 2018 10:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540144048; cv=none; d=google.com; s=arc-20160816; b=RjTMIHwVydjax5GJXQi65GkygWISd7h7vS6q1EVuCoM24faWiBjhjkFnbhbpYmm6Ys jFtTzavBGX9lT9ARzUcW+1cU6LZsLq+iiIBiBunExNCE+rwHtMOGUuHQ9YTrqy3H84WX qd7/S4GqjH9QSAtABgexOb3MhR7g3dLzZkQEmfplWvv9g9cAzd+2N8o896tI2iiPVdDs o/AWxm9/Dt+tiM16QgBNqbtb+KHG3vJ6mb7TJiF3oxa8W+0wdmK6wjX6KRH2PH8jr8UH Tm4ED7H/N5uZM/DxS644E65mzGDJRlPEAL9xR7FcPzpk5zho4lcZd1/tUHb+wkE1gPXk WEAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=q5w/nTQUtgeSapqPfzXNGuFUr8eXJwPXsiCxfn1bH64=; b=jL7Y9PQL3qtjWN3fx/7v9ob23hZCRlQY9UTc0ptJXiJdlFhOcpiAJ6YpvteKPna1wJ BlWLP2uAu6W+gykG60JvsnmV2QVOA604U0pcSy+6821ZR6LeU0gt0qYAWc/Pv8fH3SNi O6xWk8oD2rLAEpR1pf+Gm1hgyPFZbdViw+rvUufeqF43xa/1MsulP4Qgvr7twqq9d3sy oOISPFYyWpbgcWgRu3ILZfo2aACq4fPss04M7KTp+bAssTyPzzRT2AciL9wpH1u9M4Gh rdJ6dH7q9adNu39hNcXhibd1sMjHMnPDSCkZL90JgM1gXtWA9pX72Znbf3AGPE2bDtUI f5IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qzElEMZP; 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 69-v6si33187328pfw.261.2018.10.21.10.47.12; Sun, 21 Oct 2018 10:47:28 -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=qzElEMZP; 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 S1728225AbeJVB3e (ORCPT + 99 others); Sun, 21 Oct 2018 21:29:34 -0400 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 Received: by mail-wm1-f67.google.com with SMTP id a8-v6so8004423wmf.1; Sun, 21 Oct 2018 10:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=q5w/nTQUtgeSapqPfzXNGuFUr8eXJwPXsiCxfn1bH64=; b=qzElEMZPacAbz/PqxTnWNZTPeyJykLJR8zfQbpSmIjLxwYDELMQQZRBvxFBdEixbI/ 4tnueCOFoSnkuMqdg2BMNhM/mj5oVRnd28nKS/HYQQsjE2dUbcOy0209EHdmgCZCthWg cAbg7JwhE1+yNyQxe0EG+YXAtLNJyPuLYAmSGXGy8oE4fyDFF8qz8M55efb1uSUAbOk4 TdowzH0KFq1m97OJhqozFY56bDR9hE+LITZkUHVgGQxMNrBkQZh1aaDCpCh8vecA0Q60 Q45H2RZ7Ub+Ast8PSZI5m5XOBHlLlav5+hSKAOlpbqIIWSuodYpc6Lle0kggiPjKvYsv qgxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=q5w/nTQUtgeSapqPfzXNGuFUr8eXJwPXsiCxfn1bH64=; b=WS1g4Hhio1MIUq7dMHfojYbmcMpsXcN+5C49YxzAzf6xX7kdPvRglUKAWtty4+yATy dX0/nK2DktRhIxO+hjuYGzS7LFNlzJ9Jy70x8bdeEGVqwsTf7QI+z1P6H/Gchw45YDp1 L+BlNYLqCpG7zyQs6vOkvXiXuD32eawBCW/wddk1uKVhngEFmPxjWa4vv93ejtJ2qyDn sTtX9SK/bK7hlAoeVlAjiomP4pneiUmU/SLCMZYUl3CUQSUBXH+b9oJFXMDNSWG4/1o1 VjJR4lbHMCVhpGXVv7EZ5Z3pfaSqZ9ykwWZcYTtBDdDJXA+Jx2fXcIJTbv2wIeoYz4tC 0TWA== X-Gm-Message-State: ABuFfogzY/IWW0RHYafxu6wUJjimsYng3uWtCb1/qnAWEzcFPX/WFSKD 6sSMzRt24HU2nYJCsoZeOt0= X-Received: by 2002:a1c:c683:: with SMTP id w125-v6mr12546147wmf.117.1540142073090; Sun, 21 Oct 2018 10:14:33 -0700 (PDT) Received: from localhost.localdomain (62.83.35.8.dyn.user.ono.com. [62.83.35.8]) by smtp.gmail.com with ESMTPSA id y16-v6sm20860113wru.18.2018.10.21.10.14.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Oct 2018 10:14:31 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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