Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp4245572ybh; Tue, 17 Mar 2020 15:16:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv6llYwIbITPm8ghAGnIKsKsJmnHEgHVkPOKGYlGhjKz/tRUX1WrZGguQulJ40fbjWCLjU3 X-Received: by 2002:aca:4286:: with SMTP id p128mr863664oia.29.1584483362931; Tue, 17 Mar 2020 15:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584483362; cv=none; d=google.com; s=arc-20160816; b=zL2GNoW6wdquz+4r5pvqugDtLfE/V+voDWzD7ojZNy2s/fbk1ZD5In5i40wGtXz+Wy o3pP1qtNZny+Blu346AwEDxM3pMZStFmx4RJwVa7xuOGbk3/4xHjj+ableaGgnMIRabN 7pLzYx4Wn00S1XzjO09Y/q2kbMmqA5SjwB4u15b79SoDExMZyeZy8bX1bwxq7+EfFxhE rTIf4qOb/BlV68ykI6RFq0MDGrWyvJzdsYWvpbqtU8We+ewguLCL0sR0t9oxZc7VMYkV t/ar2SAfBU1IAZAs7w60ykWwollcqNjB1IjRWzQ4oD8bceRBUcF/FWeumH/06SQtkDS4 62Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=p8mM5unHivewMzMnPJZLNLJuwjPAdhbcWwhC/Y+ae5c=; b=pOclR+vbDNDYeSa8Xdz70uHLBqoYbZxOuMKI8ej42fclINkEW1EghZQJEIEer+5VuB gQ8xyvTLv6kh61tc+bpCBwl8RIj5KkR9tXscbSB0Wce8n1dP+lUgl+rUxdzKyhEajCc3 HTOgyNOy0IWwwl7WdkMxJcqwpcny8lC5HO3xxe0emgDjxQvnDz1tdyhgKF6k9P8naO5N s70P8jT9MmEXmBC/Cvb8D1fo4DYpAeoBJa9BARAXlF60VJ5l7ArrlJb+8AyV7C7wTdv3 tSNjAmDTV/xwcXOTd19+PeM+vkJ2BiZ3D+QC+va1M0dYg9WADypKwCVOAa1NenzIekw/ acTg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f20si2289973oti.224.2020.03.17.15.15.49; Tue, 17 Mar 2020 15:16:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726998AbgCQWPU (ORCPT + 99 others); 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-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:967:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2560:2563:2682:2685:2828:2859:2902:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3873:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:5007:6119:7903:9025:10004:10400:10848:11232:11658:11914:12043:12297:12438:12555:12663:12740:12760:12895:12986:13069:13071:13161:13229:13311:13357:13439:14096:14097:14180:14181:14659:14721:21060:21080:21433:21451:21627:21811:21939:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none 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.