Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1525266ybh; Thu, 16 Jul 2020 14:56:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwlUQL76ysp+YiMZpanlRM13Sar1z30wFBQuf6Tfr3C2qe5CG2WR6alHWC/yKIZbWRiSrlY X-Received: by 2002:a17:906:270d:: with SMTP id z13mr5612473ejc.281.1594936587607; Thu, 16 Jul 2020 14:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594936587; cv=none; d=google.com; s=arc-20160816; b=G1hPCY0k3+KP65VBoEfUeND+65XbpGxr7DNzp5DhHifKqw5oCP/LGWNQI3ENpYHgW/ OiOSidmL1THxM8s2s0VJBtIx6tgHzAtJisTMa1EoKaN/VgWkI7iCvjNdeUJU644hswZF 9GKO+QLwPvFw4XwhKIIskV3aTpeK8oUG5V82YiLm6whtdYO1YISGIGW+M1WnLnXvqQO3 PrOtN4Q6zBPHzXkEu5+L5UP52spVtMa2MqQXvAijGHO/XnhqtyYhqU74W8oMHoghllzV aeZF14Na8uQemP1MYEYnedH749DAdj/X+bacrhb5vzZgT5nzOlJsNzAffI2lP+Jn4NRW OCjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=rmqNzRDm3AOlcTKio/ecMN90UxT+lzhgq7ghOntqJrU=; b=BjiMyEUny0ngocBktSG+tkNhf3QpiVd3X8nLUhpvbuCD+/Xje7DDqwirc03gU+riwm bnWPCzwzwJ59ok++wVYdqqwRVjoiwO4tDmJblvoE0R5+Pm5Cwd/89UCJJWLFZt/G+gsT CzVBufG2bhTXqI7q0dzv/LN1LvM1MqVHQ40q4UhmWBx2SOMOXS1SAJAhNob1r+zzxGUc A/8u57tZKkSiHBTbJ8HpjhVhQJUmgNzbESy1cU9zdrZzw2SYrrO1p1AT/qwzirH0+mTo eLNfPfZ2s30I8LgAKS+akm27/pe4OADy9nsdq8usd4cuzF5Nm/y7gNiQ9lQJFCg+IgoC BKCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FAycc2Up; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si3903078ejj.365.2020.07.16.14.56.04; Thu, 16 Jul 2020 14:56:27 -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; dkim=pass header.i=@kernel.org header.s=default header.b=FAycc2Up; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726359AbgGPVza (ORCPT + 99 others); Thu, 16 Jul 2020 17:55:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:49234 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbgGPVza (ORCPT ); Thu, 16 Jul 2020 17:55:30 -0400 Received: from embeddedor (unknown [201.162.240.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C393820760; Thu, 16 Jul 2020 21:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594936530; bh=WnFzp0aKaFdtWvWGvJqN641XGoRa+VJNUrG66a7Tuvk=; h=Date:From:To:Cc:Subject:From; b=FAycc2Upmlubfxv83I/78APO7YdW4MlwCTT5ac1vvdJLjZBzKu42MLrF0Ve1JttqI 2tevsowrJ6QrKjv9wxnx8iNlQVL/eKBw5NDtjb7texLOwRDPJjiqGLnDodioW2SmV1 zFni898F3TwpsSOQZFYpRB+iuwnpVpQBleDRm1l4= Date: Thu, 16 Jul 2020 17:00:55 -0500 From: "Gustavo A. R. Silva" To: Baruch Siach Cc: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH][next] i2c: digicolor: Use fallthrough pseudo-keyword Message-ID: <20200716220055.GA19603@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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); -- 2.27.0