Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp319996imu; Tue, 22 Jan 2019 19:45:25 -0800 (PST) X-Google-Smtp-Source: ALg8bN6ghmL9KanSTG6zuZHqDJLIWE2xk/9qESdijvfWaSzbiHM+QTwbPHgLLpFVoVN/t9B2Tuv2 X-Received: by 2002:a17:902:9a04:: with SMTP id v4mr656619plp.34.1548215125158; Tue, 22 Jan 2019 19:45:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548215125; cv=none; d=google.com; s=arc-20160816; b=XLiZ4pdarALHgXXRalQJsaPV6NPuiYD3WmY99kW3Nxaopp/RUqG3xV85YL1JqUjE6L NcuLcq7xDMiTL5ey3fIYIG5via/STUSYG6mVZg0fv12H0e/BVkSKpsBn7w3X86F9s4t/ cqfbBJBv2J43e/GXxayCd06PEYbe3oZbHoU7Klcc3UO2/EXmffOvtCWofwFnm9X+B6q0 PEyJYRh4gt08TJjV1faa3L6Z0frAF3LygkeXyD/YDOrq5NzqVw/8sGxZTALxXZeIx5My 4vVoC5kg5XL9CeqgE8scMHJdcdO3lCUKH1fxobLyrGY/h+KevDoDhrzmJGj0UBmRgL7d 1/OQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=DZTzZTbS4SwoSVYfwjb8zBibdScdKZSI+r+xINAMa5Q=; b=Lvv2ie+5a/cujNZz/jLIXg2VUDTdqXP//KBuoDb1QkLVIhhuIhT7896+3A46ZnqTuU ao+DXTj7RXbY2RqBu9QHkpiBM07BNJf9bAO/F2rIf/ExqLcCaerqU+cl4gAZv2Iw7SPw /G0uICqZhIKQFcJDcrzIaPcDe8XiNYuIe32HNOWj/djSF4Sa9Ef7Vj/5CtmUDgknH9mZ TUgAvYz62HavWboD8++gfDZnD3h+JmAvsa11ve70IzYSB5pZhd4Gu4Ua/CmKLQBwKzib ymDHt5yUjsW20hooV0aUjn4B/HgDQzS9VgKWnVRaAPaM4pSoizGuVrnpIWprIJ5eMSp5 585w== 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 k7si17482748pgm.462.2019.01.22.19.45.08; Tue, 22 Jan 2019 19:45:25 -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; 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 S1727172AbfAWDnf (ORCPT + 99 others); Tue, 22 Jan 2019 22:43:35 -0500 Received: from namei.org ([65.99.196.166]:47964 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726908AbfAWDnf (ORCPT ); Tue, 22 Jan 2019 22:43:35 -0500 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x0N3hQwJ003703; Wed, 23 Jan 2019 03:43:26 GMT Date: Wed, 23 Jan 2019 14:43:26 +1100 (AEDT) From: James Morris To: Mathieu Malaterre cc: Serge Hallyn , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] capabilities:: annotate implicit fall through In-Reply-To: <20190114202835.15878-1-malat@debian.org> Message-ID: References: <20190114202835.15878-1-malat@debian.org> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Jan 2019, 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 change put the fall through comment on a single > line so as to match the regular expression expected by GCC. > > This commit remove the following warning: > > kernel/capability.c:95:3: warning: this statement may fall through [-Wimplicit-fallthrough=] > > Signed-off-by: Mathieu Malaterre Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general -- James Morris