Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3989188imu; Mon, 14 Jan 2019 12:46:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN486p4rZr83M7Nqca+oPvbKJ0SrMIeD7qyeLTVViUc0NECieHAN5RoPHA2x/xIVBZz9pgCM X-Received: by 2002:a62:1043:: with SMTP id y64mr401690pfi.78.1547498768830; Mon, 14 Jan 2019 12:46:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498768; cv=none; d=google.com; s=arc-20160816; b=tesYmPrvN2AUBuYdkrs7F8ZZ/5tH4I6z/yUloyrmmUyprB8iQESIVK2p1AJ35rgv1m bVzY16W0ST4eriX1CHGxYGytjjeVPki0vkM9VBRaSr5YFSCEnn+mY8DIAoOssPQdK0Jn CTKsJ8wsA6vmZ/be25wDXhowNu+a3PKedqCY8fBqQ2++LtvOG3sWDN5Rg4gXHOHDmRlP mQUhCW2NNDK0/M7dKu1Wj/d8ohsYZ1ibqezqtWawdV32vgPv3zMpApCZQf9BCqK5kyaU InwX9L35HKS53y43jox310HKOE8Ea8UJ6moMbjcCp+/OJhJL6FuiQEQgCNZ5jUGVLmrE 608A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=BPW/TPOsfK8EVwwui1CBCtoZzoIlZFL9ga9+cAosqO4=; b=bpgFsa/aro8I/AxzZj5d6mXg+V4aRHJEWBvPQYg6UHKe9QnzBg/T7/70mCaKFjdYxH oZGWV8DiSMtUzeZKLf91x4nglA1fQfzZYDbgBcVZ64c40MFIMJholLoGR5O/HCmy4b5B Y/TAPUZyFXsfyDWbwNKbKl0nSVS4HnHD4m6WImywg57d07AvZc5BHB6bXDHPU5B4XRd5 GZVOMUzRoGVui8N77r/O/J8bOPr8bGosLeSz5VhzeC9jzxoFFl/1p41NBlCJhNSozHhl EyIty/VNHIOVCRS5YgKpda7VdKH5Q51c5HgSNFKRRgcVbH8WtJYAnvedeDw5KbI1PnPq Khcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=GS9Kdm5S; 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 y6si1282598pfi.228.2019.01.14.12.45.53; Mon, 14 Jan 2019 12:46:08 -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=fail header.i=@gmail.com header.s=20161025 header.b=GS9Kdm5S; 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 S1727012AbfANUn6 (ORCPT + 99 others); Mon, 14 Jan 2019 15:43:58 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:46931 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726782AbfANUn5 (ORCPT ); Mon, 14 Jan 2019 15:43:57 -0500 Received: by mail-wr1-f66.google.com with SMTP id l9so409492wrt.13 for ; Mon, 14 Jan 2019 12:43:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BPW/TPOsfK8EVwwui1CBCtoZzoIlZFL9ga9+cAosqO4=; b=GS9Kdm5SfAWny0c/T3FjpwOTPBEz+28qg+BLN3Tl+bgkk9idmCx6iGcW96BjGG38O4 wP+siSGII8489GMfekKQccX6cv3BNYCeh8sJbOQbu5LVOI53I/e6nlvU2D1dd+X9BhQG aj6dn3ij/uzboHPMQvIsbT86dtLXTyR449Z8VY7k/0XFaUwq/R0pB6nFto+ghWQl8k2U fszQeOAea2+gmXHUsM+vFyNWX4ykD86TMkQMF7f59LQ8i9bmp29I/HoGbyNhjwxmqnZU b4Kkjx6++cJkvVpjZCEQh78yu4l3zlt3YgMxp4ymNiT5jEigH5gXys0fME5/G/rCH0Oz 8HdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=BPW/TPOsfK8EVwwui1CBCtoZzoIlZFL9ga9+cAosqO4=; b=HedAUG5sZVyHr6oUDHk11z//S97MXIGxdip7yZ4MG1O8FoecJm5zVJNdsiEpLb/nAp gDKWzJOQ1fndGEdFlmAY1Xm7cyRcKj1DZoQniOCGpo+6dgwsh9flGFG95JW7YC9SvgsZ j1ivSKMsmVtvaFFSv9KL8BiViJJfQg/fae7UcuqgUTfQHRMKB7Bf552KlTHcmgwCdj8d vAXJ62L053CzBafXdutzINGF/n49SBuWmwOZv72m+mTzXyOG/kKDbaUjPcswhG3jywkA WHge+42OEmlZgrn3lhGW4vTU5ACrmnhWkUEgCW+e20HV9lmFJ8XfD48rvO2Gikco+7wZ 5uDg== X-Gm-Message-State: AJcUukfp44G8sBY/oKTnLR6nUNz49sfr/ezomRkwecGyBjLfT/5amGh8 SuIgEkwXkne+lG68lyUXg24= X-Received: by 2002:adf:8068:: with SMTP id 95mr217196wrk.181.1547498635982; Mon, 14 Jan 2019 12:43:55 -0800 (PST) Received: from macbookpro.malat.net (bru31-1-78-225-224-134.fbx.proxad.net. [78.225.224.134]) by smtp.gmail.com with ESMTPSA id c10sm66049695wrw.49.2019.01.14.12.43.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:43:54 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id E90F111422AD; Mon, 14 Jan 2019 21:43:53 +0100 (CET) From: Mathieu Malaterre To: Stefan Richter Cc: Mathieu Malaterre , linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH] firewire: annotate implicit fall through Date: Mon, 14 Jan 2019 21:43:51 +0100 Message-Id: <20190114204352.22012-1-malat@debian.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a plan to build the kernel with -Wimplicit-fallthrough and this place in the code produced a warning (W=1). This commit remove the following warning: drivers/firewire/core-topology.c:69:23: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- drivers/firewire/core-topology.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firewire/core-topology.c b/drivers/firewire/core-topology.c index 7db234d3fbdd..82c67e900aad 100644 --- a/drivers/firewire/core-topology.c +++ b/drivers/firewire/core-topology.c @@ -67,6 +67,7 @@ static u32 *count_ports(u32 *sid, int *total_port_count, int *child_port_count) switch (port_type) { case SELFID_PORT_CHILD: (*child_port_count)++; + /* fall through */ case SELFID_PORT_PARENT: case SELFID_PORT_NCONN: (*total_port_count)++; -- 2.19.2