Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1709074ybh; Thu, 16 Jul 2020 21:39:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzce7kfb1wzS4pfXEBGXwEYq95MFv6MxyaWmOq57p3jKEAHqGWAl67XZM5kNYmvBHyUX+8u X-Received: by 2002:a50:cbcd:: with SMTP id l13mr7351666edi.384.1594960745709; Thu, 16 Jul 2020 21:39:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594960745; cv=none; d=google.com; s=arc-20160816; b=l8NldIhKkSuPGwiEfA/HBO4iv87Vk07CPRFF6t4xCuZ7XoAWqLnGDq60h50bYB32Xs e72zu6uTZa21lx44biY6TTbMWuqTkTV696p5sTWnlKVUf+sxao/U+1AZKhgKujwW1BH6 w/hJf5VWYjEyZyn7MnjDNBk64rKyqzO1kKHwug6gg+yIO7TkPz+E4wp5lY4XdJ6tMWZN oaTM6kV7DgKA1hhCjMzEJ1UNUv7b86W/WKlUWadJb94M+3KOlot/mskOTdtH1/QBT1IW rx44JhamGWqNKPaV+gyy50KXyjAO7wsZudsOqmKUy/DXcdLNdIKYPxxyJ6UdAfo37JX+ I34A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Tytm2Qg4Tiz7vL1FcDxEUgdVG3UuPuzgBi8BbvVGi+g=; b=L2WBH2hF1AIPEn63du+sVvtHWjThwugyTiVEyaq9qw18lRtV0DEVk++dym0C+opnxb jPIbOoMQF0sVJAlECRiEutYIgpzp4Fddu/jsDmNNyYscO1LYEatv5FhlVp7K0YAPhNlk N0RznEokB0kUU9MnpPmfkqaGL+Y+VwrylXTK/Ix62DvLMUiy4eAJGLGGy5bon1PL3f2e 0rB5FUdut9yhWkRUkd3+h9GED+l/mivtaNt1xaJWi/Krv+TU4gx7dOvWPbtuS+w856NL Y4dQB/sISHkH/CNOxKOdFFXZ3sh+nnRCl3oW5wm79rlbUS1KzCa+nc6koB2w2X9NrmHf lyMw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i2si4653072ejp.201.2020.07.16.21.38.42; Thu, 16 Jul 2020 21:39:05 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726333AbgGQEiI (ORCPT + 99 others); Fri, 17 Jul 2020 00:38:08 -0400 Received: from guitar.tcltek.co.il ([192.115.133.116]:32859 "EHLO mx.tkos.co.il" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1725300AbgGQEiI (ORCPT ); Fri, 17 Jul 2020 00:38:08 -0400 Received: from tarshish (unknown [10.0.8.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id 3EE76440A64; Fri, 17 Jul 2020 07:38:04 +0300 (IDT) Date: Fri, 17 Jul 2020 07:38:02 +0300 From: Baruch Siach To: "Gustavo A. R. Silva" Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: Re: [PATCH][next] i2c: digicolor: Use fallthrough pseudo-keyword Message-ID: <20200717043802.uvorspihdh6cvby3@tarshish> References: <20200716220055.GA19603@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200716220055.GA19603@embeddedor> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Gustavo, On Thu, Jul 16, 2020 at 05:00:55PM -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 This URL is likely to break at some point as documentation contest changes. Just refer to in kernel Documentation/process/deprecated.rst file. Other than that: Acked-by: Baruch Siach Thanks, baruch > Signed-off-by: Gustavo A. R. Silva > --- > drivers/i2c/busses/i2c-digicolor.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/i2c/busses/i2c-digicolor.c b/drivers/i2c/busses/i2c-digicolor.c > index 332f00437479..f67639dc74b7 100644 > --- a/drivers/i2c/busses/i2c-digicolor.c > +++ b/drivers/i2c/busses/i2c-digicolor.c > @@ -187,7 +187,7 @@ static irqreturn_t dc_i2c_irq(int irq, void *dev_id) > break; > } > i2c->state = STATE_WRITE; > - /* fall through */ > + fallthrough; > case STATE_WRITE: > if (i2c->msgbuf_ptr < i2c->msg->len) > dc_i2c_write_buf(i2c); -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -