From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D415AC433E5 for ; Fri, 10 Jul 2020 17:11:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BE1D720674 for ; Fri, 10 Jul 2020 17:11:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728318AbgGJRLJ convert rfc822-to-8bit (ORCPT ); Fri, 10 Jul 2020 13:11:09 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:38531 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728048AbgGJRLB (ORCPT ); Fri, 10 Jul 2020 13:11:01 -0400 Received: from marcel-macbook.fritz.box (p5b3d2638.dip0.t-ipconnect.de [91.61.38.56]) by mail.holtmann.org (Postfix) with ESMTPSA id 455FBCED28; Fri, 10 Jul 2020 19:20:57 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH] Bluetooth: core: Use fallthrough pseudo-keyword From: Marcel Holtmann In-Reply-To: <20200708201823.GA400@embeddedor> Date: Fri, 10 Jul 2020 19:11:00 +0200 Cc: Johan Hedberg , "David S. Miller" , Jakub Kicinski , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <506A63D3-4B3E-4148-B862-2CB5418FF84A@holtmann.org> References: <20200708201823.GA400@embeddedor> To: "Gustavo A. R. Silva" X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Gustavo, > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. Also, remove unnecessary > fall-through markings when it is the case. > > [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through > > Signed-off-by: Gustavo A. R. Silva > --- > net/bluetooth/hci_event.c | 4 ++-- > net/bluetooth/hci_sock.c | 3 +-- > net/bluetooth/l2cap_core.c | 19 +++++++++---------- > net/bluetooth/l2cap_sock.c | 4 ++-- > net/bluetooth/mgmt.c | 4 ++-- > net/bluetooth/smp.c | 2 +- > 6 files changed, 17 insertions(+), 19 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel