Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3979804imu; Mon, 14 Jan 2019 12:33:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ehTEGt/wb0JWS0xivvsukzhwCmP+6lbAAfJpkyxVGxCu9xS2Nbi6dxR5DKqFp2ZItQcrv X-Received: by 2002:a17:902:9a46:: with SMTP id x6mr58132plv.94.1547498008581; Mon, 14 Jan 2019 12:33:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498008; cv=none; d=google.com; s=arc-20160816; b=F7V8lTXV998qG9tLTEE9SYroF/R6528zH+AOrqe3eAYbRQMwXmsoxjvp+Iqkny2khg vg2QBA+gtpTOi2W5D2s8DmCPkxUpR1YGt5pbz0yO35o3dliir0ZCCB3vsvH0HCZri8kC Udl2hi0LCwHIXFOGiDgMRa0T6Lz23X1D1t+JTu7G0HsN5YH9tXPEsnjxQFKcOrOwmsvH N2VT+sBXx4q3/O8kINu3AsjNz73DX3rlHlkq3F5Hro9aW6ksbxh+J92tHVE+640HUgSM 4+aSPEESB1Ypa6dCo6TvIm9P28dSDOlkQuIzdxoaURoCyrgsrUhx7FFByrZKhMCAfNZl 2JXw== 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=RYHA0OJUM2RnoBzeN3vOyH/VQDfLT/qGbJMLzreBAr8=; b=GK8pyRbrM/Q6kODd2qhVbziDBPsZw+U/+WH/GTScLpeunab3uKSQfDwmCsp7ULBOxy 5F8xx1SQ8UPm0zYaxPp1s1KUzN+JoPZMRg6cgn4hkwpghxvymezpqVJKZH3UIZh+UebH G4UIjOzAiIE5fqPrG9No90v8cuPpqk93lB9p2ixWH4GsIitax6WKlLTfgJWqfOkmOFF3 9MWW07zSgEGnzgiNx2PWYNTl2AASKsCcrg9Zfvm/aiE3tCsSeuIABZ21zziQXqN6ZjRj bMJHenRrJ8DGUUzeUEJz+9LsO3hwQS+tn2cZdObex/fa9K2yT8/PshkAQHstoSbFLJ4a ENqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="LBtJ/YOU"; 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 x186si1010313pfx.269.2019.01.14.12.33.12; Mon, 14 Jan 2019 12:33:28 -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="LBtJ/YOU"; 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 S1727001AbfANUao (ORCPT + 99 others); Mon, 14 Jan 2019 15:30:44 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:34813 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726767AbfANUao (ORCPT ); Mon, 14 Jan 2019 15:30:44 -0500 Received: by mail-wr1-f66.google.com with SMTP id j2so456264wrw.1 for ; Mon, 14 Jan 2019 12:30:43 -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=RYHA0OJUM2RnoBzeN3vOyH/VQDfLT/qGbJMLzreBAr8=; b=LBtJ/YOUj9ZGuEm7VW64TLOkmJBHV1LeN5ztBY7vQ6XvgnEXyFRGqRijCQ4Jbggl9g WGdgMmD5EfVFwIulTe3RBtsRHcfAPTn7dYIT01PBlutqSYypi6gO6KaU1NMMz4uPN22m g0amtxFSpvPLTH74ulfKNk1y+F1AzrIp5mV8XV+vJDVwZMsZfPMtt1UAztxCOCCF7sgI mW/zBSgQ90n1FOuSrphxjsmKwyvABYhzN88HwBJpgO7MEZ+5Fs12XUTmAimzW24xcl+2 drog32yPczZ/s62nF/reGMi8s3J13WSb3h7HcXxXcmKlIgZoyji0EL3pMitQY9nqJadw CKBA== 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=RYHA0OJUM2RnoBzeN3vOyH/VQDfLT/qGbJMLzreBAr8=; b=puEh4REy/H7xo1rzskk2I1B9YDwiDYPMPcSF8bIoQ4tKuAzVQLXIIwut9qZB9VNfmX BfuIIw8JssKQSQuPwJKf7WZUmpcqxYXVQ+u4x9/Yp5OzQsTwcPQsF1SDnDBjM04jnvzl o9BLNU+Ati72TZxyflfhHss+tyeIp4ISYiNXvAMp7lqpYh8+QnvuAAU/H1gjlMLS44sy KJrQCKHJvsNtZBRPjyYTeWOdZa59cIxdeYURsJeTw350eSNIvVhdn1fEk9Kmmu/Rt8p6 AqwDld/S3NcyttOlxsJEd2WYXthDnU/fsp6EF0r/jOJONxZNd6MinJG8KveCAO3VQvlb PmvA== X-Gm-Message-State: AJcUukcrd2V/RT9bTcbgGcI0/yYMH9xEPgWqEao+QHei3/wpNzZFv2er xLQ1Yc5DpsPz7vDG/pAxsG4= X-Received: by 2002:adf:97d1:: with SMTP id t17mr174009wrb.283.1547497842485; Mon, 14 Jan 2019 12:30:42 -0800 (PST) Received: from macbookpro.malat.net ([2a01:e34:ee1e:860:6f23:82e6:aa2d:bbd1]) by smtp.gmail.com with ESMTPSA id g16sm68943671wru.41.2019.01.14.12.30.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:30:41 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id DA79411422AD; Mon, 14 Jan 2019 21:30:40 +0100 (CET) From: Mathieu Malaterre To: Steven Rostedt Cc: Mathieu Malaterre , Ingo Molnar , linux-kernel@vger.kernel.org Subject: [PATCH 1/2] tracing: annotate implicit fall through Date: Mon, 14 Jan 2019 21:30:37 +0100 Message-Id: <20190114203039.16535-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: kernel/trace/trace_probe.c:302:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- 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) -- 2.19.2