From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81187C169C4 for ; Mon, 11 Feb 2019 15:31:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 41D0F21B26 for ; Mon, 11 Feb 2019 15:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549899085; bh=VQ/3WoVlo/9d7KFML1aB3x94LoA26dWhCYjKqsYX5cI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=kgb6dSrXjPRwEOACNKCibht5RoQ6/PsawVrKxUTb642R6asY5UvcHx32UJqgfiRQU yElvXWRZ03rCn5TLIdAl4AGqhYQ4ocnKxlECQTXvK/jwH7S1vDR096FZfC8KlmGyda Z2m3CNFHViY+v9J41EWsIm7d6Q2WXgLtUEw4xmy4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728605AbfBKOz6 (ORCPT ); Mon, 11 Feb 2019 09:55:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:43056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389075AbfBKOz4 (ORCPT ); Mon, 11 Feb 2019 09:55: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 B65D920700; Mon, 11 Feb 2019 14:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549896956; bh=VQ/3WoVlo/9d7KFML1aB3x94LoA26dWhCYjKqsYX5cI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qVA1RR5qPUE245sRA47dM4Os241WG6Dtg4ote2CtYmo//WNLzF07rVoVWS44M6uuC AQtn68WTxPBh9BgdDoKE1n67G7LpvRXa2tjW6zH0NHvg3ev6YE7lbfZtbc/HN+RxS1 92iwQhrrV6xtyGYO/1HgMkcas46BRJQinForBwlw= 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.14 043/205] f2fs: avoid build warn of fall_through Date: Mon, 11 Feb 2019 15:17:21 +0100 Message-Id: <20190211141831.547063186@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141827.214852402@linuxfoundation.org> References: <20190211141827.214852402@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: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org 4.14-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 3f1a44696036..d2873f227072 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2014,6 +2014,7 @@ static inline void __mark_inode_dirty_flag(struct inode *inode, case FI_INLINE_DENTRY: if (set) return; + /* fall through */ case FI_DATA_EXIST: case FI_INLINE_DOTS: f2fs_mark_inode_dirty_sync(inode, true); -- 2.19.1