Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp3276088imc; Wed, 13 Mar 2019 13:29:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhJthF4e+ygTTHphSj47sKqJ7A7BJmuqpdOovyT6pdCuLj+sFdZFtB35gFdOqeBw4js5Hk X-Received: by 2002:a63:e10:: with SMTP id d16mr42011252pgl.148.1552508940623; Wed, 13 Mar 2019 13:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552508940; cv=none; d=google.com; s=arc-20160816; b=RFLIzM90CP/DECQMFdioTsAstl0uhWokhVJmpXFQWMi75cVOAqfHd0ZCICqJgvRNMl SiAj5sUvevNHtBi6XfU7/dZXhHVVoJQa7Pve8jUXS6s1J0hQtWlpI2wxCe9zRxKN1TI1 VKg9QauZr3uAuQ8s4PYreV9WB7HXKpvMb63V8A46aKmoHcbbLjXW/W7IM94qcNQGlFRq WxyfYGoGEAVAGpAp8AnVGs86CVQXs3Hg6mbordQSZ7vektek0CkVSjCYRL5t3NP83sbI /GHITcNWrPQr/PR1iU/LQSS8uN/K4vtbXpD6teFN4fx04cMgZ9dKCczVBRfZjchyysep KSFw== 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; bh=WRHo+Qx+bqiMtdNEIHck/pS93TyE205D50SsM/O6eVc=; b=enCUdHYZkjdNflHFZLR8ZpzLGrVoW4mR9WLr5EbRRAGN29shFO3k8vEFoNELsYuiM4 BrntZ3Pgsr22znEOikX8cnzxZaim6RWZGhgLJEMT62Kb/3x3QPnAAPAtGbCKzogRuEDh mhMNJzhWG1oilbfmpGuJhf2I3Nb/id0NCo5zGSiuBpMlP6JJycF7t9nZG1av5GYIxg7u WDucc4yY/PVIptJv4spZg7pclmX1nI5VY/FKGRiPIPKBEFr8q8w2h6PjWky6MGNz9KCv yPlyn5tsocbJA5ifBZLOwloyZa9yBLtzkt2AkDj/EutckUWnsKcPVx7XADAU6VCXMhP+ HQIg== 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 z31si10499455pga.227.2019.03.13.13.28.44; Wed, 13 Mar 2019 13:29:00 -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 S1727227AbfCMU2S (ORCPT + 99 others); Wed, 13 Mar 2019 16:28:18 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:38772 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726892AbfCMU2S (ORCPT ); Wed, 13 Mar 2019 16:28:18 -0400 Received: by mail-ot1-f66.google.com with SMTP id m1so3029794otf.5 for ; Wed, 13 Mar 2019 13:28:18 -0700 (PDT) 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=WRHo+Qx+bqiMtdNEIHck/pS93TyE205D50SsM/O6eVc=; b=QwX8iHv3uVixF/GjTEpc/x0bWeppM2TGDmyPolaEsBFFuQbNU6Q1rE0kCbKCtd9CrW JYgOmuaz3csQBsBQNz4+RPJ45jCSq4SzF0gbgq/qr3JzPiI+JLYVpWOu0DdqkY8KfsEm Fih7I+nyH+F1W/CZQQ98Ao+W9au0va4NuwTjagrxt7S+5nlPQN6iztcN/JOMRVfb+Lrf +WxUw7mrx0Ur597/67kmQVqsiWNu3M6NVgG2fXWlj/nlaW9OoWuuDvXaAp3jZwr3mAKl pnq+EdRPLbIIRKUqJThQTTfN05eV8cOpJqaOVnumGCABfDa31xZ/SUj8rbc23wTYP+/K KdIg== X-Gm-Message-State: APjAAAV8F9O1kDp1bK08/rSHO7LVP8NDiVMM+jTtmgGwFyLR3HdNmmW/ TrYasW5toCxQNq+Q+XhyP05eV8GUPssxF3RwQf8= X-Received: by 2002:a9d:7841:: with SMTP id c1mr29683616otm.354.1552508897906; Wed, 13 Mar 2019 13:28:17 -0700 (PDT) MIME-Version: 1.0 References: <20190114204241.21712-1-malat@debian.org> In-Reply-To: <20190114204241.21712-1-malat@debian.org> From: Mathieu Malaterre Date: Wed, 13 Mar 2019 21:28:05 +0100 Message-ID: Subject: Re: [PATCH 1/2] firewire: annotate implicit fall through To: Stefan Richter Cc: linux1394-devel@lists.sourceforge.net, LKML , "Gustavo A. R. Silva" 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 ping ? On Mon, Jan 14, 2019 at 9:42 PM Mathieu Malaterre wrote: > > There is a plan to build the kernel with -Wimplicit-fallthrough and > this place in the code produced a warning (W=1). > > In this particular case rewrote the comment to start with the string "fall > through", so as to match the regular expression expected by GCC. > > This commit remove the following warning: > > drivers/firewire/core-iso.c:308:7: warning: this statement may fall through [-Wimplicit-fallthrough=] > > Signed-off-by: Mathieu Malaterre > --- > drivers/firewire/core-iso.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/firewire/core-iso.c b/drivers/firewire/core-iso.c > index 35e784cffc23..d2d50bda5a5f 100644 > --- a/drivers/firewire/core-iso.c > +++ b/drivers/firewire/core-iso.c > @@ -308,7 +308,7 @@ static int manage_channel(struct fw_card *card, int irm_id, int generation, > if ((data[0] & bit) == (data[1] & bit)) > continue; > > - /* 1394-1995 IRM, fall through to retry. */ > + /* fall through - 1394-1995 IRM to retry. */ > default: > if (retry) { > retry--; > -- > 2.19.2 >