Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3708201imu; Mon, 28 Jan 2019 09:23:31 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Rmh5Lqv+XUrsWlzP44VElmrOfRLHLpYEk2wIsyabh4C2qe5AB74I+iaxbryjnJt2FCeNe X-Received: by 2002:a63:34c3:: with SMTP id b186mr19897502pga.184.1548696211477; Mon, 28 Jan 2019 09:23:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548696211; cv=none; d=google.com; s=arc-20160816; b=totnnod7UpTXCHYXS6uiDasYxbTQD1pGSGF0TEosXJ+CTLQ0boo81Aw79j008jFKDX 3Kk33jmm/YINHm7W3e1ioaM9jenhGrNC9AX9Mkr9uAy1S/ww1xIv+CgKmtFuldX/3QqR /kWBe9UNVHuD0bLmoTmnRgmnw3FgfQ6EaY8zHfko4qn2YvPz/mY7cLZZeOroJhebJajK lSei82jBxwdmPWGCSl4rxUpLaUiFgd+rjkW6ZuF9/2w93nKUJqkHDOs6WJ3FNXK0fwi9 t6hrQXbtCVhK+0qmjG3bLZqPgfh8vIEJ7ile29HPAjLFzz28hbFKP3+0bj/44a2YJqvG SGSQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oyvouwlv/rU+3A04sz+0nJbwRSYKnnesI2zyq9W7lp8=; b=unWE3jpevYbxy1fx2zUNny6HPy6Qna7dYKOjbG22fWOGUt9sBi2IU4dDiLNP3Q0l0j JoKtGJc0P8cjZZqyIvq81M0jUYPZDkUuM40fRv3icoDsfnmVV6BgoiJDmrnWozSzf+DG gR46/GcClkgt8Zai6zApW4hnn/xkqzS6/KFtb0IuzxuO8X0cK6EIf76V9/bxbMQro5o6 Emk5z9uANYmiBUkexXjvz05XPaq/DoQ+gWi2Pu8RIiwky1Jg1jippdYmjsqNxs0jp5sv 7VpkkAH0oXLce/lhSR06mJmZqCrt0pPJj8z9M+mbf5ytfEhVjoKk+CgfcO1nNZ2O4vIH jzKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Stov3nEx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3si22278873pll.201.2019.01.28.09.23.15; Mon, 28 Jan 2019 09:23:31 -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=Stov3nEx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731881AbfA1RXN (ORCPT + 99 others); Mon, 28 Jan 2019 12:23:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:48300 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730562AbfA1QDA (ORCPT ); Mon, 28 Jan 2019 11:03:00 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 887AD21848; Mon, 28 Jan 2019 16:02:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691379; bh=u1nfwmX8QGYdJ2mubzopu3dIW9gr9/sHa4ZzuAqjgAA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Stov3nExay0QP6n5QVUajM/MuDNEJPh8+ur/5He+oc/MqiJjqnwYQHVX1AzMVbxvl aPwbvgqKncZTNaL4Fk0GSaunC3W704saBhQtuaVeKmIeYdAckFzS944Ay4NOrer+Gx Dc0u6igQlKLAblSp5TMeTO2C6dtE1NXXmHz0pDFk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Jaegeuk Kim , Sasha Levin , linux-f2fs-devel@lists.sourceforge.net Subject: [PATCH AUTOSEL 4.19 073/258] f2fs: avoid build warn of fall_through Date: Mon, 28 Jan 2019 10:56:19 -0500 Message-Id: <20190128155924.51521-73-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jaegeuk Kim [ 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