Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp854502ybh; Thu, 12 Mar 2020 12:19:41 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsuhfVUixsrqIz/WFuMpUpiAGys32gm9sj+kv8Jvge324s55CaliD6TMWjEb+ClYSvtgCSC X-Received: by 2002:a05:6830:114f:: with SMTP id x15mr7599149otq.306.1584040781300; Thu, 12 Mar 2020 12:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584040781; cv=none; d=google.com; s=arc-20160816; b=YSjS7Xl2pbAdAnJhuGObzUmqmK7i/kxxSx3MH3p+49pdQ5uX/M2WrBjwWcamyXKoX1 sX/YpsTszBlwYFwZtksf51mEq7x6Q38ke/9EzItkLxqvEfEL7RkbXZeBG80AoYaH2ElA POpKkp/XCsp24dgNj7NFB0SBFn+rrIvjOjYpKsXMZ99F6bBdSvbFqelsMtTH7+55MkP3 7GWvC3RJLu2y6nfEqipb0zBuCwsvHUztt7NowEjF4eDurPVvZmkWIyP9XK6CfuxKIhu/ 2R6q5PuiFR/LoVxkOYx3VwENjb6WXD2sqx5v5Y0aij7PZpFOcPlk+lUDH/FxyxVzNKhX DsDg== 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 :message-id:date:subject:cc:to:from; bh=5dKWltSogv10skKmv1dIzL8fzEVO1x0XgY0ScXWYgxk=; b=z4chc8DKu2lq2YvR6jbW9DYBabk1D5magTALc8gmub75qCgU9ydXcBMQTq2TcplSTk nOWFE2X+IYSkNgBJAllE4VTx+LTUVM0Q6jsZQtJiewHBigrKBDAVhbQ39CfVxhPCxbpV akZy+QJr3y2KvdOWaAwIH4uvjXtgoF8/TsHrAtvyGvupC5v+ggh1nnop2ty6a141l2CG wB6/VZr5gOoUnkGEv9M/Qt/AeRNg3kXT0yO65XruEh5lQq+BBRMthsY7FZXycKFC4g/e Y7pdCwhzIxJJMmet20kLYZ/geB4Ll2rEzd30wM3ICYX9//d6WwKerLfn5zZuBCWvtDp8 luEA== 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 z14si3178576otq.257.2020.03.12.12.19.28; Thu, 12 Mar 2020 12:19:41 -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 S1726779AbgCLTTG (ORCPT + 99 others); Thu, 12 Mar 2020 15:19:06 -0400 Received: from smtprelay0078.hostedemail.com ([216.40.44.78]:55542 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726553AbgCLTTG (ORCPT ); Thu, 12 Mar 2020 15:19:06 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 2019A837F27B; Thu, 12 Mar 2020 19:19:05 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:541:973:982:988:989:1260:1311:1314:1345:1437:1515:1534:1542:1711:1730:1747:1777:1792:1801:2393:2559:2562:3138:3139:3140:3141:3142:3353:3865:3866:3867:3870:3871:4605:5007:6119:6261:7903:10004:10848:11026:11658:11914:12043:12048:12296:12297:12679:12895:13161:13229:13255:13894:14096:14394:14721:21080:21433:21451:21627:30054,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: iron54_6c49d87829722 X-Filterd-Recvd-Size: 3313 Received: from joe-laptop.perches.com (unknown [47.151.143.254]) (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Thu, 12 Mar 2020 19:19:04 +0000 (UTC) From: Joe Perches To: dri-devel@lists.freedesktop.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH 0/3] treewide: Convert unscriptable /* fallthrough */ comments to fallthrough; Date: Thu, 12 Mar 2020 12:17:11 -0700 Message-Id: X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Several files in the kernel can not be perfectly scripted to convert /* fallthrough */ style comments to fallthrough; because the direct scripted conversion causes gcc to emit warnings because the fallthrough; marking is outside of an #ifdef/#endif block. e.g.: switch (foo) { #ifdef CONFIG_BAR case BAR: ... #endif /* fallthrough */ case BAZ: ... } is converted via script to switch (foo) { #ifdef CONFIG_BAR case BAR: ... #endif fallthrough; case BAZ: ... } gcc emits a warning for the bare fallthrough; before case BAZ: when CONFIG_BAR is not enabled. So moving the fallthrough; conversions inside the #ifdef/#endif block avoids this warning. These are the only warnings emitted on a treewide scripted conversion as found by the kernel-robot so applying these patches allows a treewide conversion, either as multiple discrete patches or a single large patch to eventually be done. Joe Perches (3): drm: drm_vm: Use fallthrough; net: [IPv4/IPv6]: Use fallthrough; virt: vbox: Use fallthrough; drivers/gpu/drm/drm_vm.c | 4 ++-- drivers/virt/vboxguest/vboxguest_core.c | 2 +- drivers/virt/vboxguest/vboxguest_utils.c | 2 +- net/ipv4/af_inet.c | 4 ++-- net/ipv4/ah4.c | 2 +- net/ipv4/arp.c | 2 +- net/ipv4/devinet.c | 6 +++--- net/ipv4/fib_semantics.c | 4 ++-- net/ipv4/icmp.c | 2 +- net/ipv4/ip_output.c | 2 +- net/ipv4/ipmr.c | 2 +- net/ipv4/netfilter/nf_log_ipv4.c | 2 +- net/ipv4/netfilter/nf_nat_pptp.c | 4 ++-- net/ipv4/nexthop.c | 2 +- net/ipv4/tcp.c | 2 +- net/ipv4/tcp_input.c | 6 +++--- net/ipv4/tcp_ipv4.c | 4 ++-- net/ipv4/udp.c | 2 +- net/ipv6/addrconf.c | 6 ++---- net/ipv6/ah6.c | 2 +- net/ipv6/exthdrs.c | 2 +- net/ipv6/icmp.c | 2 +- net/ipv6/ip6_fib.c | 8 ++++---- net/ipv6/ip6mr.c | 2 +- net/ipv6/ndisc.c | 2 +- net/ipv6/netfilter/nf_log_ipv6.c | 2 +- net/ipv6/raw.c | 8 ++++---- net/ipv6/route.c | 2 +- net/ipv6/tcp_ipv6.c | 2 +- 29 files changed, 45 insertions(+), 47 deletions(-) -- 2.24.0