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,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 C8A69C169C4 for ; Mon, 11 Feb 2019 15:20:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F1C021B1A for ; Mon, 11 Feb 2019 15:20:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549898427; bh=hItS8nGzbrHqi4DzQwsAaWG+UtN86/bubQ+/W4vi0Kk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=nGwHSXITZv1FWQmdsdHLHAblM/9z0Of8GCChJ4liJ/Gl8uaf+WKB1JpJvGbt2zHba 5GbzwMkoPFMQPoFbU526oj47ZlIPrNI6KKXIocO0ImqJivu8ef4RjJMVcz00m97miI wt9AfvxjnC77uxmC5W7/wHWO9QOJJxL5SCX637ZE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390970AbfBKPFY (ORCPT ); Mon, 11 Feb 2019 10:05:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:54636 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390450AbfBKPFV (ORCPT ); Mon, 11 Feb 2019 10:05:21 -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 E448E222AD; Mon, 11 Feb 2019 15:05:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549897520; bh=hItS8nGzbrHqi4DzQwsAaWG+UtN86/bubQ+/W4vi0Kk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YNZiK+FBoxcv+9WUBxjwwvIXuTBb879pyAYmrlWQA701hToOkllcjlYHDNOlwrO3w K63McuWhiVx1tgDni2dF5ChDlakVUBBwR7NWU5AXLA9Xuej92ZTTyx/JE2MVgwQLHv 6Qes2jPGDWfpMRr4+qrA0TeNglVFM42Ed7sF9L9c= 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.9 025/137] f2fs: avoid build warn of fall_through Date: Mon, 11 Feb 2019 15:18:26 +0100 Message-Id: <20190211141814.294912831@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141811.964925535@linuxfoundation.org> References: <20190211141811.964925535@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.9-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 9c380885b0fc..662084490089 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1635,6 +1635,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); -- 2.19.1