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=-3.8 required=3.0 tests=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 1DB73C1975A for ; Tue, 17 Mar 2020 22:15:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ECAEF20738 for ; Tue, 17 Mar 2020 22:15:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727015AbgCQWPU (ORCPT ); Tue, 17 Mar 2020 18:15:20 -0400 Received: from smtprelay0202.hostedemail.com ([216.40.44.202]:46094 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726476AbgCQWPT (ORCPT ); Tue, 17 Mar 2020 18:15:19 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id C9D5C181D330D; Tue, 17 Mar 2020 22:15:18 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: chin52_2e3840607711f X-Filterd-Recvd-Size: 2086 Received: from XPS-9350.home (unknown [47.151.143.254]) (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Tue, 17 Mar 2020 22:15:17 +0000 (UTC) Message-ID: <623eb1bc61951ed3c68a9224b9aa99a25e763913.camel@perches.com> Subject: Re: [PATCH 1/3] drm: drm_vm: Use fallthrough; From: Joe Perches To: Daniel Vetter Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Date: Tue, 17 Mar 2020 15:13:29 -0700 In-Reply-To: <20200317164806.GO2363188@phenom.ffwll.local> References: <398db73cdc8a584fd7f34f5013c04df13ba90f64.1584040050.git.joe@perches.com> <20200317164806.GO2363188@phenom.ffwll.local> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2020-03-17 at 17:48 +0100, Daniel Vetter wrote: > On Thu, Mar 12, 2020 at 12:17:12PM -0700, Joe Perches wrote: > > Convert /* fallthrough */ style comments to fallthrough; > > > > Convert the various uses of fallthrough comments to fallthrough; > > > > Done via script > > Link: https://lore.kernel.org/lkml/b56602fcf79f849e733e7b521bb0e17895d390fa.1582230379.git.joe@perches.com/ > > > > And by hand: > > > > This file has a fallthrough comment outside of an #ifdef block > > that causes gcc to emit a warning if converted in-place. > > > > So move the new fallthrough; inside the containing #ifdef/#endif too. > > > > Signed-off-by: Joe Perches > > Acked-by: Daniel Vetter > > I'm assuming this all lands through a special pull? Or should I apply > this? Hi Daniel. I think you should apply this. The idea here is to allow a scripted conversion at some point and this patch is necessary to avoid new compiler warnings after running the script.