Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4031549imu; Mon, 14 Jan 2019 13:35:58 -0800 (PST) X-Google-Smtp-Source: ALg8bN6aOo+cyT/z3K6ixZ3/mVbEAVpOvIPi+FWBCE3COFhBv2fZIuFEDcFEzgeOYBMnuhfVX2O1 X-Received: by 2002:a63:2109:: with SMTP id h9mr511040pgh.277.1547501758257; Mon, 14 Jan 2019 13:35:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547501758; cv=none; d=google.com; s=arc-20160816; b=oL5i3KcxPk7lIS4GjbAB+rM+J7zr28LfvkQPy2j1tZbIj+Uh3p8iEap3e8Oi8cCHrA eVbe9ygTCaBT8/+csnat70Cfdi5+JHIf5GtBvhmi50fE+ZlcPpbjDRzRPSd2z1L6Urad wORw/IW2XpfUQXl0bq6UOLYm5UxBx8XheRF+j/lEUaLD5nan7inioy6uOX2U2WMJMf3X fLD0r9v19yGarZvT7dR2NLn9VIxwMPOUkEWjbTP6+Lj8yWDKZiNtKIP+Ex4nX4Z0WLEZ x7I9lovMQ9PAk9bS1I6qkRl4lygnCwQ1Fw5hM82pDBhHRfO69sB946uRzJoz0Axps6tE N5Ag== 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 :references:in-reply-to:message-id:subject:cc:to:from:date; bh=UDJUdQFxeogRsTnpB8l7BpK1typbNUBW0/mnQ1Q2w8M=; b=RX7CJQNBwy8ZcAVbGavqVam6Pj+vSL5IQnLwSuIretSbGpeBO+ZdxWWweN/Bn04kj4 tgfGbSckMF9IE8pzi0hZHwnlFifwKDvaaAbB4Zt5qYWlugBtGTeoIanFYy2IbiUxHChj UumPJVuYXYm/do52JImumoDu1BLwuppmAIXzBqbjXMrfxH0tCdNBDkcvkDte8c/2JpZn 54SIAJrF7JjXMSD2knBsXo+E2uwaDnkzk+tFfUqTHodI0QArio/zRUW+gwpF3sr2oBxT I1S3qI3JLyTbi/s4/0h3UAULgdeJSkPUquPbjJHCjGVz4CoeshFy0HraN1weEVnrZ3qj LxEg== 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 k22si1348589pgl.29.2019.01.14.13.35.42; Mon, 14 Jan 2019 13:35:58 -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 S1726998AbfANVeS (ORCPT + 99 others); Mon, 14 Jan 2019 16:34:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:53632 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726809AbfANVeS (ORCPT ); Mon, 14 Jan 2019 16:34:18 -0500 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5FE2220659; Mon, 14 Jan 2019 21:34:17 +0000 (UTC) Date: Mon, 14 Jan 2019 16:34:15 -0500 From: Steven Rostedt To: Mathieu Malaterre Cc: Ingo Molnar , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] tracing: annotate implicit fall through Message-ID: <20190114163415.6245b939@gandalf.local.home> In-Reply-To: <20190114203039.16535-1-malat@debian.org> References: <20190114203039.16535-1-malat@debian.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 14 Jan 2019 21:30:37 +0100 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). > > This commit remove the following warning: > > kernel/trace/trace_probe.c:302:6: warning: this statement may fall through [-Wimplicit-fallthrough=] > > Signed-off-by: Mathieu Malaterre I'm pulling this in, but I'm changing the subject. Even when doing clean ups, don't use the exact same subject for multiple patches, it gets confusing when looking for a specific change. Also, Linus prefers that a subject header starts with a capital letter. [PATCH 1/2] tracing: Annotate implicit fall through in parse_probe_arg() -- Steve > --- > kernel/trace/trace_probe.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/kernel/trace/trace_probe.c b/kernel/trace/trace_probe.c > index 9962cb5da8ac..89da34b326e3 100644 > --- a/kernel/trace/trace_probe.c > +++ b/kernel/trace/trace_probe.c > @@ -300,6 +300,7 @@ parse_probe_arg(char *arg, const struct fetch_type *type, > > case '+': /* deref memory */ > arg++; /* Skip '+', because kstrtol() rejects it. */ > + /* fall through */ > case '-': > tmp = strchr(arg, '('); > if (!tmp)