Received: by 2002:a4a:be92:0:0:0:0:0 with SMTP id o18csp3797033oop; Mon, 14 Jan 2019 12:31:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN6+EJKBYzoGsRRa867jFGnaLLaHmki0NdjKLyPmOGwBZdo5e/w8gTMC85GudKn9Ee2bhQDC X-Received: by 2002:a17:902:3143:: with SMTP id w61mr307726plb.253.1547497889729; Mon, 14 Jan 2019 12:31:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547497889; cv=none; d=google.com; s=arc-20160816; b=og9WNNomKoUCT4yzWV3qD3TbCEI/pwlBIpCEtTZmlfn6aiTw1Sf7/ULrCmaaoLspIb lwveC9/Vqz12MDnL+acrufwgMZQkw0Jw0olCToc5DUwoE5Ow1cfWZWN67aGsOslhMB4V 26xwCnsgaLVnn20DIpx+TsRIePM/YgxJWBbmeu/xziN2zLt+NAOBm0sU1h5+R/Ftu4Zm 5RKvl4zQJLW5Bv2ipzev8ybNQMZmJrX7aFz+/QqhsJNBiCdfFVAXtPFMFjE/GOCmuV3t 3T4hEK4mdf8O+I8M0LiLWxgSBh+t+VWpxWaWLCG7STBefIBIx5atXSUp4WerS2lOSvdu fULQ== 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=cLAkezdImgjAZNPsAelp7TW27U5Jn+/8v6IVUEoQBRU=; b=urWJUOZAeGu4So4ez0PqHPIADhK2X3Ue1z3549RdHz55rKXBZv+SJekg8xyqZiV/4F mbsz9Ef7Feu6lki97qLbNSyHT7o/5Lj0W2PDoBaZh20rEuuLgBs2GmBHQG82BQunfFJ4 x78IKCQZ5UstB68gv+LVJ20rJc3aihNF52PDrmr+RUzCnKB0lXhnGdR4t2R21DrMRn94 881yu54NRshIVR5NRGAU7T1o8DdJUmlueNBbCidOhLCUhbgoUssHfjEr7MEn2ZLr7JUC 0CEPHE9dcjxjzXiGP3PeLiZyvwpoia9FR1N4vAaA9Pz6I6PFrb13MQgXns0AjnDSbc+3 ABcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=cP7T5XvO; 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 59si1158250ple.291.2019.01.14.12.31.13; Mon, 14 Jan 2019 12:31:29 -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=cP7T5XvO; 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 S1727088AbfANU3w (ORCPT + 99 others); Mon, 14 Jan 2019 15:29:52 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:33646 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbfANU3w (ORCPT ); Mon, 14 Jan 2019 15:29:52 -0500 Received: by mail-wr1-f66.google.com with SMTP id c14so464773wrr.0; Mon, 14 Jan 2019 12:29:51 -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=cLAkezdImgjAZNPsAelp7TW27U5Jn+/8v6IVUEoQBRU=; b=cP7T5XvOmTgqDOvn1QQqPWQrzKtEf90OYO8RZ7vyC+x0vIMpowYDzVw1HlRXsw9pgX jndxmlzbAnoWv840CWt7Bd40q4YSIsSrBv6E2VVTW3V4MGTiHK8Ruk7d1XKSUD7zlSfg BetcUe3c/F6XgnObSY4lnQCjqCXi6y20BCEB3fPI4NRPlq0Lf3/oN3wfcrJdCjZ3XVkk ufybF/Q8jTizB/lNu/iGSvrldbTEy1uThTxBnA+Wh2yo4G3SykGWLNaD3V+CnJeuDRTw XhNj/ZYIqZh0Evc9Ds4d06CZo+9aLHX5EIknBXTkfvqPyZZzptP4SfUohgBpq9WT1Gn5 uagw== 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=cLAkezdImgjAZNPsAelp7TW27U5Jn+/8v6IVUEoQBRU=; b=emLGTuHg3CcomaQel9vuKjmQVAf2scB7QVAThnCUz3zhfrOP6ty6vk2KucpIQyrsRv lu+4DSFOp9tcKUx7IbWhEyz3EyPyxQoTlRCyptME9EK7Cs0i6wjNkaAlxESBz8OSk8Jc RmP8lVXLZBafFvExztgq+JOmQrmDn6P0+ZIZnDP3zaUPU0+PhfSyg1+Qfk8d5adANdRw yvW0BZFURrxFNyjnMwYDhnA1KYWvil5TEBkcVZnVH8OC5C4pT6MasWZasFS2lcut+spV 3TN3Nmh1FWcVUCaZoRrI/fgsH3DzDaw5ULSUDHZux5WmEXl+JfP/IR40mbDj3K3c9ruZ PUhQ== X-Gm-Message-State: AJcUukdc3J+hClO7fyT3y8vV3xk+3VvVuha+VlUXQTNG2o6ZsIyTnsyq B4t+rw1tHML6OLBYiIJNASOP0tqS X-Received: by 2002:a05:6000:14f:: with SMTP id r15mr203338wrx.53.1547497790564; Mon, 14 Jan 2019 12:29:50 -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 o15sm61377439wrp.12.2019.01.14.12.29.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:29:49 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id D031011422AD; Mon, 14 Jan 2019 21:29:48 +0100 (CET) From: Mathieu Malaterre To: Alexei Starovoitov Cc: Mathieu Malaterre , Daniel Borkmann , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] bpf: annotate implicit fall through Date: Mon, 14 Jan 2019 21:29:40 +0100 Message-Id: <20190114202941.16183-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 warnings (W=1). This commit remove the following warning: kernel/bpf/cgroup.c:719:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- kernel/bpf/cgroup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/bpf/cgroup.c b/kernel/bpf/cgroup.c index 9425c2fb872f..ab612fe9862f 100644 --- a/kernel/bpf/cgroup.c +++ b/kernel/bpf/cgroup.c @@ -718,6 +718,7 @@ cgroup_dev_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) case BPF_FUNC_trace_printk: if (capable(CAP_SYS_ADMIN)) return bpf_get_trace_printk_proto(); + /* fall through */ default: return NULL; } -- 2.19.2