Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2766494imj; Mon, 11 Feb 2019 08:09:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IZa2Lrk0mzHfYQmno+Gv2HwhBVdJ6kJzc8DtwsS4O+yO0t8/kY3qwBAhfpmRJ2GY8TvyifE X-Received: by 2002:a63:5962:: with SMTP id j34mr19326493pgm.297.1549901380176; Mon, 11 Feb 2019 08:09:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549901380; cv=none; d=google.com; s=arc-20160816; b=rxCfeq28/Scb+w0aKoG99GfsZoTc7OX8WtShnBblFGaT5sSlvwcjEgiK2TcQKnyrYW 3Ga9a7MGq4vnV8lojklQUETj5AXSgzwNtbAkLEMAkyYFTk8bAbiGMQO2QpqsrahizJc5 wRyJOKZGd/YqZdOLUXq/ITvTEDKzQqGJRgdqlTpEW70MK9acmPRGKClptr6rxgKUJngA uR8ONH1+mBfEWDtUQUpJmhYaaQXhlht63/4irYxozMKh0+VuCaXUhpRBe9WWikEgnOTg PoVlAq0/77B9LLBvpn0Lq4MQqTKzm34CXHKla4VdmkC1Jcz6mQFjuDW85HMDjt3sTvFF OLjQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6x0mXB7Z8twy5IQXSWcoyNH2EWfrcRv+HkLd2qhvRN4=; b=eA1Bfu1aNFrc0/K0Z4kFOFGQfmUpQdoeJtvxF2sQMbERoflrUdf+MWeIy64kzNex21 VNSwEeGfY+UACn5hNQ8WQoqF1ftsprTwCTVjG2TWxSyYQLTZ523fVO5TMZFBTrE2YJGD 4bJ+g/pICMM2I+N0f26hE5aXoMrzJ0ZD6zhmYabJvM2WwxMgcKOzO7A87oj7um7Y/rkM cdkyIxPXB9kaBm1kASsgTpIf9sV2mEjaePCOrufCOQu9WHJ2qN9djK51lm21PYrLfUcV a5GZVccqnEAIiesEpwV1Rv8+E7J9lrChBpIO3dPsJSOuyWBMcIWSlfUDcsgaQviJr5Xp Dpmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gB5I2P+U; 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 s9si4442918plr.316.2019.02.11.08.09.24; Mon, 11 Feb 2019 08:09:40 -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=pass header.i=@kernel.org header.s=default header.b=gB5I2P+U; 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 S1729477AbfBKOZ6 (ORCPT + 99 others); Mon, 11 Feb 2019 09:25:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:59608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729464AbfBKOZ4 (ORCPT ); Mon, 11 Feb 2019 09:25:56 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 7833B20844; Mon, 11 Feb 2019 14:25:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549895155; bh=v0fL9qyT72ydRlPUQJxbEs3tlHue6ciXLOf3bta2xAc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gB5I2P+U4oBWv1XYgbwvT2Klc8YzGCN//W1KfYgPyOwy4hv+HIe34wCB+ansRT36+ vH1pff/oXP17xSYu0qjnwO/5Oi0Nn+WkCwL9Ysj00Ybj08qt3ApeEoLNGmjqTLceYH EwONLzp7LJwNsEn+cgPGJG4gc0avkacImFMbhtHo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephen Rothwell , Jaegeuk Kim , Sasha Levin Subject: [PATCH 4.20 081/352] f2fs: avoid build warn of fall_through Date: Mon, 11 Feb 2019 15:15:08 +0100 Message-Id: <20190211141851.175526205@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141846.543045703@linuxfoundation.org> References: <20190211141846.543045703@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.20-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit f5d5510e7389fa264337fb524346bac9eb93adc8 ] After merging the f2fs tree, today's linux-next build (x86_64_allmodconfig) produced this warning: In file included from fs/f2fs/dir.c:11: fs/f2fs/f2fs.h: In function '__mark_inode_dirty_flag': fs/f2fs/f2fs.h:2388:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (set) ^ fs/f2fs/f2fs.h:2390:2: note: here case FI_DATA_EXIST: ^~~~ Exposed by my use of -Wimplicit-fallthrough Reported-by: Stephen Rothwell Signed-off-by: Jaegeuk Kim Signed-off-by: Sasha Levin --- fs/f2fs/f2fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 1e031971a466..ebad864c031c 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2370,6 +2370,7 @@ static inline void __mark_inode_dirty_flag(struct inode *inode, case FI_NEW_INODE: if (set) return; + /* fall through */ case FI_DATA_EXIST: case FI_INLINE_DOTS: case FI_PIN_FILE: -- 2.19.1