Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1644147ybh; Mon, 20 Jul 2020 03:43:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrjks0w5hGtYvrXWZWo/gmUdCQTIhNDMp2PMFp+PDsGWpCrbx6HqcrSflA+dv0SDHxH5Q5 X-Received: by 2002:a17:907:20c4:: with SMTP id qq4mr19440876ejb.85.1595241784925; Mon, 20 Jul 2020 03:43:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595241784; cv=none; d=google.com; s=arc-20160816; b=lWyXH420geDW8P0SHgy5ckcaqfmcuAZ9aJdzxQV2Qj6b79UY0DpfIb1gw1WFLhBLxU 7NCGBy2JA3loiaAIwYQGmWdxXL6CWPZMTX52cbQtfq6ZGpflq4Zsu8/wtzstsfotwRYw aTVEErIYFKUw+1Ph+cZnTWEUaBQ5L07t1EDVy5s7cURNSceXbDaNNwZbFGPLJ4wKyCUx CcWyUJo4fO755Lj19C6HPnV2AJvr7236RZP9ILk8Lx7yeZEcClV7R1ygpdGNOIBK/VUj 2stz4c7Q87qXCwS+mlIf6OQqgPtC05aFKALxC79U3pdrQhvJkGK6/LmJxm9h9n45E8G8 g+4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=3Z9VV3PNln6cpUU430vCUuG1qF7iASHw8mQilk/YFaw=; b=oBoVoACRFglyfS/WGXRpDb8zY3ovjtJdKmxKQckEB6OQlWlYSOS+8k+r/yWiDws6/O zniVxxwAq1lcPd/IgnSQylNKZMqmzTe7RYBqG2X3oXBiIKYUTl09xPwPj8dkDdE6A+yR koafWvjjYyLpU3AYtUHNSw48pWwTUA95uECX8ZfGSL8iBuL872bpDPXPScMWLapfX/HP oftI4kmSE1LZ9km7S4+SPZfrqFN+wogA2k0PRjKutO3QUOpFO07AojZ0CtEm9nMGlaXp GadoL/MACGxXT+MTJzfQVJ0OZlxez6ZhcsoyuRmSFQJjDj93WUdxIT75fZgELjd/Rnon 2rzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z11si10167173edr.395.2020.07.20.03.42.41; Mon, 20 Jul 2020 03:43:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728354AbgGTKk3 (ORCPT + 99 others); Mon, 20 Jul 2020 06:40:29 -0400 Received: from mga05.intel.com ([192.55.52.43]:48629 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728290AbgGTKk3 (ORCPT ); Mon, 20 Jul 2020 06:40:29 -0400 IronPort-SDR: GuUILsx+nWhqO4bdDUozdYlzFb52sYTe8kGDHwsSmuqlxujvtNmUyQWwNAk4+M/gzUaf+lr7VD traVmEbHNqDA== X-IronPort-AV: E=McAfee;i="6000,8403,9687"; a="234737789" X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="234737789" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 03:40:28 -0700 IronPort-SDR: pdIOofzQnu5O/sZtthT/dTa7D4DE++Jyz1vkPToorQsEa9ta5YA52oVGSZ7xaTxubx57ElwWTa OkiUlUAxf2Eg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,374,1589266800"; d="scan'208";a="431568927" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga004.jf.intel.com with ESMTP; 20 Jul 2020 03:40:26 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1jxTDe-002riE-LP; Mon, 20 Jul 2020 13:40:26 +0300 Date: Mon, 20 Jul 2020 13:40:26 +0300 From: Andy Shevchenko To: "Gustavo A. R. Silva" Cc: Mika Westerberg , Andy Shevchenko , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: Re: [PATCH][next] pinctrl: baytrail: Use fallthrough pseudo-keyword Message-ID: <20200720104026.GR3703480@smile.fi.intel.com> References: <20200716211919.GA17378@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716211919.GA17378@embeddedor> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 16, 2020 at 04:19:19PM -0500, Gustavo A. R. Silva wrote: > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. > > [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Pushed to my review and testing queue, thanks! > > Signed-off-by: Gustavo A. R. Silva > --- > drivers/pinctrl/intel/pinctrl-baytrail.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/pinctrl/intel/pinctrl-baytrail.c b/drivers/pinctrl/intel/pinctrl-baytrail.c > index a917a2df520e..d6e35cba3065 100644 > --- a/drivers/pinctrl/intel/pinctrl-baytrail.c > +++ b/drivers/pinctrl/intel/pinctrl-baytrail.c > @@ -1372,13 +1372,13 @@ static void byt_irq_unmask(struct irq_data *d) > switch (irqd_get_trigger_type(d)) { > case IRQ_TYPE_LEVEL_HIGH: > value |= BYT_TRIG_LVL; > - /* fall through */ > + fallthrough; > case IRQ_TYPE_EDGE_RISING: > value |= BYT_TRIG_POS; > break; > case IRQ_TYPE_LEVEL_LOW: > value |= BYT_TRIG_LVL; > - /* fall through */ > + fallthrough; > case IRQ_TYPE_EDGE_FALLING: > value |= BYT_TRIG_NEG; > break; > -- > 2.27.0 > -- With Best Regards, Andy Shevchenko