Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2285738imu; Thu, 24 Jan 2019 10:08:14 -0800 (PST) X-Google-Smtp-Source: ALg8bN4sDLCqxUuZ/4M8g3vJlRP4UOOc6wiYrieKNICCFjV48Op0JFCrmyff6cNmHaAHovfXdqiw X-Received: by 2002:a17:902:e085:: with SMTP id cb5mr7450779plb.24.1548353294143; Thu, 24 Jan 2019 10:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548353294; cv=none; d=google.com; s=arc-20160816; b=vuf+f78o2U/4cFKG7v4sA3BYnNZ/6EDzIRgj59Pw4z9G4AMU1bWnKJWapzAOc01dl9 48LuIjj8gAJNfYYo8asbAJdWMf58iZOxP6h6jZx/tBqgxZSXTJSASj2D4/goVdciuvF2 V0+XmqveWZLsFi4w8NatGjzfLmey2exkEumYn1RF3wbA9t8G0DEmWH6jnfPQxRUJPv6d PHL7oVm0oBoMh+/oQtNi1/F8cxVWrq6mnPsE3ERRw+qDgeU+/l2YQPLP/0vNpTy72ENy QBjzdaqse11HY/E4LGjSKe0F/vS6KvBwDOaG66JK27/10GGZm+js5tjncJk/XWRVf17j IYwA== 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=9+mli0xSXk2ghiIeou+iQu6b7dIljMmGB5zDKNfOwTc=; b=eZrd6zcrBNvN1l/bMZEjwb1LK1+7JacxQtdelyCMvVOAreznRGAzXcDuUE4DedJ1AX mZu22RUjv/c30FPRB7ANuRb+5z6dYOCYYjIBOgTu/Jn7hOVyPRK4fc1nk9SihvUQoL4m mLTWXAO9F2lB4mVS7MAzRhERTLTTAlNrUxO+LLACXV489D72zlrMwOQYYVKlc1MFmRE8 zkMBBJodRntv0/YjxtOhdgQFNhcMRCkbWnHyQYfl72K5rm4kLqcI338+vexCMBz8xn1g I3zkjnUHIAEY9haUsT9jbgrpfMkOhGtCsPS72c73tNZHIh3lJrv2PcImbYYYM6WVfPN8 khTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=GMsPnP0N; 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 e13si21381742pfi.271.2019.01.24.10.07.57; Thu, 24 Jan 2019 10:08:14 -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=GMsPnP0N; 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 S1729274AbfAXSHl (ORCPT + 99 others); Thu, 24 Jan 2019 13:07:41 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:34674 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727919AbfAXSHl (ORCPT ); Thu, 24 Jan 2019 13:07:41 -0500 Received: by mail-wr1-f67.google.com with SMTP id f7so7557947wrp.1; Thu, 24 Jan 2019 10:07:40 -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=9+mli0xSXk2ghiIeou+iQu6b7dIljMmGB5zDKNfOwTc=; b=GMsPnP0NzZ+lEOLSnpeCpJbZ2wXAdhj4dZnr76MkTGwbYTStG9jdYcWYe+UhJT7x07 HbesboogtJS4h3K3qUOMVlNJyNwPye8XRhIrCxsMqBu6dMP3ZqKtGSBj+rvfnSrxGg20 IZxwHAGtmgrdDIlGBlCe/tD80o/cRX4+UPJ/2MyQvTycDau38crvHpbmqZ1U3kxd9Kn3 voHhOebTN89DvC+2Czb/fMmLZ275uuU2X9PShXBaHaTyVez5Q/ghwB/3MftaL2gcEdVy za+LKnSgtVLjF8rS3frBmIrgS33c7QsF1cJTYI048F1CvGX1F35V4F56Kcj9UuwdAJsi LxXQ== 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=9+mli0xSXk2ghiIeou+iQu6b7dIljMmGB5zDKNfOwTc=; b=HvpqIJxfIWvRQ4ZBqLwK+oE+mVUXG7h+P7qzUiWQ32GfVvo6Jao0v9obyvnhmET3DB MiD6HemvwVBRe9CDGloXT5zYr6KbqXhS6atvo9bH9P/s0mWxK6VdLCHP74PRzvG/TQIu TzFyUZO5EYsowQc/6YKOycRCROuf9PnEXQloaenYyUh0VbUEGyUeAmdd68fuGgcvfG2a C3OL4/MV+Q6m6EfCBebpQP+n2ssS/t/JKuQ4SVutssywcmjuap5Dm2b0Z64Q5h6FrpNR 35Cz/rNusBKUAFKfjSt6yGtI12TkHx2No/4kS/7+6s3YXD6zBdPSvN9hOa/VEgGm81F3 U8rA== X-Gm-Message-State: AJcUukcggs2yNXdgq8x2QaFdKmJ8CK/1JBPbFV+kL861Q0AJIiFEtcAb tWTptf2SaVfap8pVCYfR2fY= X-Received: by 2002:adf:ce86:: with SMTP id r6mr8531754wrn.257.1548353259561; Thu, 24 Jan 2019 10:07:39 -0800 (PST) Received: from macbookpro.malat.net ([2a01:e34:ee1e:860:6f23:82e6:aa2d:bbd1]) by smtp.gmail.com with ESMTPSA id x3sm99402358wrd.19.2019.01.24.10.07.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Jan 2019 10:07:38 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id DEEB01143573; Thu, 24 Jan 2019 19:07:37 +0100 (CET) From: Mathieu Malaterre To: Marcel Holtmann Cc: Mathieu Malaterre , Gustavo Padovan , Johan Hedberg , "David S. Miller" , linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] Bluetooth: Annotate implicit fall through in l2cap_config_rsp Date: Thu, 24 Jan 2019 19:07:23 +0100 Message-Id: <20190124180724.20910-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 removes the following warning: net/bluetooth/l2cap_core.c:4223:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Cc: Gustavo Padovan Signed-off-by: Mathieu Malaterre --- net/bluetooth/l2cap_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 2a7fb517d460..a5b76e24940a 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c @@ -4244,6 +4244,7 @@ static inline int l2cap_config_rsp(struct l2cap_conn *conn, goto done; break; } + /* fall through */ default: l2cap_chan_set_err(chan, ECONNRESET); -- 2.19.2