Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3984663imu; Mon, 14 Jan 2019 12:39:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN6k5HgY8/ab4Lva2SjF14ILAQU7cP2o11sKc8vDC5bHmiVCCVlFd5xLnVBwU3Fw+YslbPDz X-Received: by 2002:a17:902:2ec1:: with SMTP id r59mr383648plb.254.1547498387009; Mon, 14 Jan 2019 12:39:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498386; cv=none; d=google.com; s=arc-20160816; b=BjgiCc3TDDlBjCb/qLsPlMa6VR8fwOShXpBdw7tu5YKSe+U+muy1zwAhC8zRB2wUbH aJgkdFKgl/fnitiBrl1mZqvKAi+NcE81lNbe5NeJ2I93HuCtjkYQIaYY8k/VQ/Z99zPX vV23zkOndgZbmFYqFslu1+RosSYJG+RQ5hQt20IEed3iYhbWOAFn1yk5Lotu/7X5xT4h q/Th4DiVuO6TBUkMV9y9lz3mRshq6JZ6F7KE5KuQFdDJT9ACzgLsHC5TQ6KKEmRKKfqn Ara/AFGgTY0XtWtaM6rijcNrYy93jdcu3Spk8SIhm1bzlZ63vvuJW6WCTdu3eWOBhJUp Oy9w== 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=qNsUCW3IX5YhvZ4wutoYkRwo7UB+mjQVCtnUyjE5oVw=; b=Md/Y03asj66tDbGq91EAQQXg0HSzrLb28eqyGCnRFvet07ATr98E1dUjdyXN5RB7kd ivwc08BnwV2sZGtaFgzHPJJj9BpOsV9nZmJHAn7M0GjAw39tz6PfY8h+U2D5rMCjCqir 1No5sC9B1iGdnUW96HVPbfH2i14ojNprQ4o3uhYEpNz98jMgMPCxYKqaU3Ma3nltzmMM 2R3SWG0eDlbFkU65yTokVJvfyvr1808HYMMvpHwbeE0wDRb6ZS04aoDlhs9vabaovpdW a3edxElBb/GSo/FX3qQrvpsAgjW9aWZw7dF4jRBrC6lDpvftzjCU6ypk2WzE3VdH5Kkm ypvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=mjFyBcUf; 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 k25si1254120pfe.10.2019.01.14.12.39.31; Mon, 14 Jan 2019 12:39:46 -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=mjFyBcUf; 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 S1727109AbfANUhq (ORCPT + 99 others); Mon, 14 Jan 2019 15:37:46 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35788 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbfANUhq (ORCPT ); Mon, 14 Jan 2019 15:37:46 -0500 Received: by mail-wr1-f65.google.com with SMTP id 96so470982wrb.2; Mon, 14 Jan 2019 12:37:44 -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=qNsUCW3IX5YhvZ4wutoYkRwo7UB+mjQVCtnUyjE5oVw=; b=mjFyBcUfgGtxROVMFfVLlkeZbF38nROKq8P4UVZ+kDAX30+37/qLihGi+lq969DQR+ SMRXJVlD3DRv5/IVITKlFUwZLev60SN+JtLqCRtzv+lPO3D0qAlO3PuWRCvoTsceqW70 qkSd+epzkSvJVz6IA8rC5SMpWQqilvXAaG58ld7/OdzCPxORR/vuJ1PgdpaszEw7H4jH 8WHcSXoaZqu9vDJEfl6wGlxM5PP0Mpq3sFh1tjyJxJ7VKTK04pH15r90w7E7BBpb7Zcx Yki8X9gfb9BsabOaeRQ8oNqxueXbzqEalPvm0Z12fd+Qr2VJPpcNH8qtcU1mzm1YMS+W cGxw== 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=qNsUCW3IX5YhvZ4wutoYkRwo7UB+mjQVCtnUyjE5oVw=; b=gkSswtNBXCNNBXFPcYz5ypHDbbFG8PmbEM6e3MaREwj19/xpu1mPF/S781dst5sdV7 TSeHCyZ4JKlPogEPlKZYQ8ugiKtKHWJHvf8CBY1fXUlzS2wjP8X4BP3/EVuZ9wjTbM4W v2lTUV9S8ntswuSsQ185hr43G3S0fnYznjFwS8W7vyRFTgRBtPp+BFkGDBW97LOP+Ric 7r+3oIHqBmfB7TIgC+bRCHtn2xLSrgodL1g/XLmcmH2+T47SNvdsu4RNrn5TRPy6hhMo Li1Zc0wrl86jeUXlgPa3Vu+qb8AGDFARspueAXmCFDNBxCS+FLnR1oPw2CfOMVmtHNMN f8EQ== X-Gm-Message-State: AJcUukf4lGW99JdDA++qJOTIqlUYCUnw6DOCRa5ERY8YrqqbjEata8dr jD76uqlh6/hAK+m07/Y41sEAGKc1 X-Received: by 2002:adf:9f10:: with SMTP id l16mr229944wrf.206.1547498264049; Mon, 14 Jan 2019 12:37:44 -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 b18sm70803460wrw.83.2019.01.14.12.37.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:37:43 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 468EA11422AD; Mon, 14 Jan 2019 21:37:37 +0100 (CET) From: Mathieu Malaterre To: Alexander Viro Cc: Mathieu Malaterre , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fs/signalfd: annotate implicit fall through Date: Mon, 14 Jan 2019 21:37:34 +0100 Message-Id: <20190114203734.19294-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: fs/signalfd.c:178:7: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- fs/signalfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/signalfd.c b/fs/signalfd.c index 757afc7c5895..44b6845b071c 100644 --- a/fs/signalfd.c +++ b/fs/signalfd.c @@ -176,6 +176,7 @@ static ssize_t signalfd_dequeue(struct signalfd_ctx *ctx, kernel_siginfo_t *info if (!nonblock) break; ret = -EAGAIN; + /* fall through */ default: spin_unlock_irq(¤t->sighand->siglock); return ret; -- 2.19.2