Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3984010imu; Mon, 14 Jan 2019 12:38:59 -0800 (PST) X-Google-Smtp-Source: ALg8bN7pFZ+KC2SRsPA7NiGbfBC2CJLd6TIFipPa5Y2IzVtiYelCXV8OMgRducFFfwqcwFL4nxDt X-Received: by 2002:a17:902:2ec1:: with SMTP id r59mr380742plb.254.1547498339061; Mon, 14 Jan 2019 12:38:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498339; cv=none; d=google.com; s=arc-20160816; b=bMVnLECYIzDhpYBg/bKaIxlSp+cp+oVdnsIhwAQ+fXbK8FJ+ZXPP2Z7ybV+ga4wjyR Mm5S3H1Tno2VvhDOS+q9kX85Jwawn8UjHY5jkOiL55FS4l7OgBFpPR/gRpczEDTZRoQD OCJDLTGUDnBYqz84t55mFc0RTGwEypzCN2oDSdVG9MVHrk7T3C4HjNiZ9ToGLC9Euofr aaX5li8ZyHp62ZNBerwwgyw8vEskt25d1kUjR2dmEqNmnQI2n2nMXPQMzx9XOjACZs9u uXU3DVyhmEstVtSK/PzhFiHKjRCjs+qbcnud3dNSoJDgiNnJTi2UBrD6cOdZprPWXQLO FJgg== 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=/Gf6avfxFFWWRO/1fqEft/05aZjlhTesWsbA4oKEyYE=; b=0F4p7LnsZCZJlAVGTaHja/gQqoYSgzur2dVpjzMpgHTa/aJPR8moSPkNxj0Y+402gS 1X3mgdhqM8lf76/exJw4xEHYZbVZMjvU/7YUdppIioIkBG7E0+Nl2YzwUwrFtgBWNhl0 /rnuOvYFfdZQwi9btOHM8AzlehLTNFbtApAbxOGGx+n1Bv/0BL5/RTSJSn76VSTsY6wl FeSXVpsojg9cFT7WSD1two6dcjU2HW+py4y6l0VFsQD2aaCwTRaCCIxUemRvXiT41kIR cgcOLXoonFuO1o2CTEJJiPE8nMob2swbsZnMW7xi75+M0e+gtfIU3xUf3YqG6co1HKBz J6QA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=E2N70rc7; 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 i20si1231509pgh.187.2019.01.14.12.38.43; Mon, 14 Jan 2019 12:38:59 -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=E2N70rc7; 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 S1727067AbfANUhJ (ORCPT + 99 others); Mon, 14 Jan 2019 15:37:09 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39990 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726788AbfANUhJ (ORCPT ); Mon, 14 Jan 2019 15:37:09 -0500 Received: by mail-wr1-f68.google.com with SMTP id p4so435621wrt.7 for ; Mon, 14 Jan 2019 12:37:08 -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=/Gf6avfxFFWWRO/1fqEft/05aZjlhTesWsbA4oKEyYE=; b=E2N70rc7pW+w6myDm72wKDMCuQimvcMvaOKzh5v7aOOFxDL3gChNDI8XcTey58Ky7x EHp9OAH0T03vM7z6tK9P/nGC9ZFSlxH+Endi027JwjoWPnReWRCEWoIWOnyMUvn8Ye5O Lq4o4FOWN9croUwftJN1mv+Qvt5LZDl5sE/9iZft+tq2Vg2aN4GoPbg33dRuP4IDr7w6 bYaNIhdebR/4GBmifzQRLBPxHYAxJze/Mq5zFsbAUAjHFqWUkVoTkWXsx7E4P6kHWtyn 8mh1rX1ATWK/+wLunsyxpbHoJrdwYh73UzTQl1TuNIv48gd1iVidRsCr9/GyGUf0iw0L K6qA== 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=/Gf6avfxFFWWRO/1fqEft/05aZjlhTesWsbA4oKEyYE=; b=n8ZoJ65X1C9zwV8S1IuuYteywKA8bDpVEsO4f/dRKkWtO9ZbEuRu/CiFNXtyYyRqrG PKoxOWaFQ39vgi9cgWEnaSZ5kP4wmgnqvlI9Z4d0bdzixZZhxfK7CU3tFGxja3LKd4gQ SECM8ORABVlbqKVg5RlCtIuwe2Y/YrN0KPmMR4pT2CSZ6+nl5r5D4Wub63RpHRwYwGjm ydZRHyFMEzcoA8kWNV8HbHs7ILW2RWjAPtXrcVeRroSTQsXL6/xY5IVxXHnIEzp4Ctrf jwMFBLLtCG/vMMVqN1/znr18Vrzo+UX9C/oc74YHQVy2wV3hwgyUYPNUL1r4hO0ltLjO xDYQ== X-Gm-Message-State: AJcUukedQyfzIW9sRT9gJyrGYTy6Vm0+mfYYJ7CmJ+Isv/JV54uFiEbA 1U9s79y9r133GhFeRbmWEsc= X-Received: by 2002:a5d:488f:: with SMTP id g15mr212420wrq.15.1547498227465; Mon, 14 Jan 2019 12:37:07 -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 t4sm77660963wrm.6.2019.01.14.12.37.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:37:06 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id B3A6511422AD; Mon, 14 Jan 2019 21:37:05 +0100 (CET) From: Mathieu Malaterre To: Peter Zijlstra Cc: Mathieu Malaterre , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org Subject: [PATCH] perf/core: annotate implicit fall through Date: Mon, 14 Jan 2019 21:37:01 +0100 Message-Id: <20190114203701.19010-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/events/core.c:8945:11: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- kernel/events/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/core.c b/kernel/events/core.c index 3cd13a30f732..11bf8bf606ee 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -8943,6 +8943,7 @@ perf_event_parse_addr_filter(struct perf_event *event, char *fstr, case IF_SRC_KERNELADDR: case IF_SRC_KERNEL: kernel = 1; + /* fall through */ case IF_SRC_FILEADDR: case IF_SRC_FILE: -- 2.19.2