Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7096730imu; Mon, 21 Jan 2019 23:50:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN7lqUbVfNrHpdscUak9hfk1A9LNzLH0ZsyAyeSLwOaxFybCinqiWwl/KzjebgB1hj8GHiNJ X-Received: by 2002:a62:c185:: with SMTP id i127mr32871630pfg.43.1548143427430; Mon, 21 Jan 2019 23:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548143427; cv=none; d=google.com; s=arc-20160816; b=hlUcO2Rd0vhzAAsOBZc/0K0LF2oYNHqrwjvGEoM+C/Z21yGdvWTRv9gCZ1zj/1t5aJ 3E7VQ3SY2lll6Q8kTnNmjTb/AileSGJu9/JvKgXoLzn3H8+/vWtYEaIHVNXq8bLfDJmU MqVclV48HGPf2oGwGtQrPZNaChtSXg72/149z06jMFxbPximXW8e+HC42aauAyA9px7N BemkZylWzYOQqfK/lEbG4aiapQB4W1GH9JDFIWDEScRkJyCkLjiY/s+Rlo6FZwZXcDih 2EYM1HHgnuKAvmCAuCB6m/aCak+u4pgH50SFGvceT2oBdC5iDpFi73Ml6t7OKBOm7ejj 4rnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9KVAYJ0gpLIXYPyz//0HmScHy9SasXIBZTqrINVc2mg=; b=wLOH/tuph/oC8r8fCYpLBux8MuW/toZUIu2rRFNKm0fqqj6hZjdPtMLHJQozZyrjDw 98HhRCFpCSzeHdM2zvCMumwhjYj6iNbsfl9w7VBAoo90l9j8BR7rwy6fLa9n4DQNcv2X JLzVSowiE6DsXuBpS6QoeKSnkht6k5nGoMR0J5+5yfCaXIFCSm/jxc7AG/0IkKhYRo49 Mt6Mk6TbSKi6rftyLqLmEo5gdNuFMwiK2ssSKehBURFXdfXEwchRW9VznvZnyCtv2T9r jbvHl7rPe5VzRKuJldsqS6rZBTE3CUWlSPqILVwaugTRzx+xanju2SBrNSjlDMz7gI9F FQhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f9RPZhKE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si15436957plb.103.2019.01.21.23.50.11; Mon, 21 Jan 2019 23:50:27 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=f9RPZhKE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727509AbfAVHsi (ORCPT + 99 others); Tue, 22 Jan 2019 02:48:38 -0500 Received: from mail-ua1-f67.google.com ([209.85.222.67]:40705 "EHLO mail-ua1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727359AbfAVHsg (ORCPT ); Tue, 22 Jan 2019 02:48:36 -0500 Received: by mail-ua1-f67.google.com with SMTP id n7so7742273uao.7 for ; Mon, 21 Jan 2019 23:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9KVAYJ0gpLIXYPyz//0HmScHy9SasXIBZTqrINVc2mg=; b=f9RPZhKEJAMuKOZIzh1vVcLxWBGAMkZRYS5g0cMwDgRQn5B1XB7RJIMEekJKAv3qxQ +whQE9o+mP7NJFw84bNveg3kqJK4FSHeJzbsy89g15M2G07VOTbbnfnzk9im8oQF+5GU 94LA3cKiaNFGx8IY3lqd4XpqxTkuv66l/hisc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9KVAYJ0gpLIXYPyz//0HmScHy9SasXIBZTqrINVc2mg=; b=lqNVCdNJEVrL59NX9iugz2mFeLuMQwMm13Yq1NuyzbTaTrmWL2A/Ar2t0PTsno3I7I uq/DwpsuG0aH2MwFoSch2BOyD3fhnfEm+opu8h33FgqlW31m7e+qxgy+kpQv4+ZtSjNU XMT9Qj2xaUk59xxFBNFngD8JO1+aWXqXKYtQMkkoqGRyqLG98adc78Cz35BLC7WlCYg/ kGSzPgUvxGEffqnBTy289rVlR3rsosEr2JNuLEt0qXZOi9a0qae2t0VbPqflA0aUZ8DQ cl5U5mJ8JUBKPkV7IYiICuA4Sfd+oSOxYwJva1KXuVLaREMvSgysoAYMtELow1h0ONLk UK2g== X-Gm-Message-State: AJcUukfkKoV7ltCiLcFERTV0lIx4xr9v7HBnrglYxlwocpEajIRl1SZp TgGDqzaxAWtsOGXDyWtG+otjt9KMhyNeBQs6vNYo+BTo X-Received: by 2002:a9f:2244:: with SMTP id 62mr12541630uad.119.1548143315448; Mon, 21 Jan 2019 23:48:35 -0800 (PST) MIME-Version: 1.0 References: <20190116195219.2897-1-malat@debian.org> In-Reply-To: <20190116195219.2897-1-malat@debian.org> From: Ulf Hansson Date: Tue, 22 Jan 2019 08:47:59 +0100 Message-ID: Subject: Re: [PATCH] mmc: Annotate implicit fall through in jz_mmc_irq_worker To: Mathieu Malaterre Cc: "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 16 Jan 2019 at 20:52, Mathieu Malaterre wrote: > > There is a plan to build the kernel with -Wimplicit-fallthrough and > these places in the code produced warnings (W=1). > > This commit removes the following warnings: > > drivers/mmc/host/jz4740_mmc.c:745:3: warning: this statement may fall through [-Wimplicit-fallthrough=] > drivers/mmc/host/jz4740_mmc.c:779:3: warning: this statement may fall through [-Wimplicit-fallthrough=] > > Signed-off-by: Mathieu Malaterre Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/jz4740_mmc.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c > index 33215d66afa2..a1df8bc0b964 100644 > --- a/drivers/mmc/host/jz4740_mmc.c > +++ b/drivers/mmc/host/jz4740_mmc.c > @@ -743,6 +743,7 @@ static irqreturn_t jz_mmc_irq_worker(int irq, void *devid) > break; > > jz_mmc_prepare_data_transfer(host); > + /* fall through */ > > case JZ4740_MMC_STATE_TRANSFER_DATA: > if (host->use_dma) { > @@ -777,6 +778,7 @@ static irqreturn_t jz_mmc_irq_worker(int irq, void *devid) > break; > } > jz4740_mmc_write_irq_reg(host, JZ_MMC_IRQ_DATA_TRAN_DONE); > + /* fall through */ > > case JZ4740_MMC_STATE_SEND_STOP: > if (!req->stop) > -- > 2.19.2 >