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 904D4C169C4 for ; Mon, 11 Feb 2019 15:47:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5EF39222A7 for ; Mon, 11 Feb 2019 15:47:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549900062; bh=BajOmQAOaXSRmd1MZd3MV/pJa6XEgm/miZN9Eu7VeRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Zl5u2TccB7slBqYG/pcKoVC2ktehiFlnXsNycTDZ7RC6NDeRfWSYOgGorSIptOIpR RfP7+VuAicMtiOslr91AfBNxqtP+CcIdpcmB+h9YtWvhuSYrJyZ2E5cD6/V73t0rOv /To7Eku6F5tVrXvO56T1A+/5Kmpdwpkdv18kHb/I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732217AbfBKOlZ (ORCPT ); Mon, 11 Feb 2019 09:41:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:52682 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732202AbfBKOlY (ORCPT ); Mon, 11 Feb 2019 09:41:24 -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 A758F20700; Mon, 11 Feb 2019 14:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549896084; bh=BajOmQAOaXSRmd1MZd3MV/pJa6XEgm/miZN9Eu7VeRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d47vjXX8UB54M5CIh5RgNnPtgIubZ8eDqYYS0ibgSl57IZ11i8eqGCn4OJlcOZBar q5J161I9Ff7CfRXfX7nxIU2UqbvwE3LX0xo/X7jAovcilXhy5YtdM02croKxtQxBch yb+SbWklv4Glagu/Gr0+NzBhTPKj6fbvMMrrwWWs= 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.19 068/313] f2fs: avoid build warn of fall_through Date: Mon, 11 Feb 2019 15:15:48 +0100 Message-Id: <20190211141858.400816358@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211141852.749630980@linuxfoundation.org> References: <20190211141852.749630980@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.19-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 ecb735142276..462a2fb8aa69 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -2311,6 +2311,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