From patchwork Thu Feb 2 01:01:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 13125200 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AAFA8C05027 for ; Thu, 2 Feb 2023 01:42:04 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1pNOby-0004Sx-4b; Thu, 02 Feb 2023 01:42:01 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pNObv-0004ST-UC for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Feb 2023 01:41:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9Um+1mBfdR8lP4Bbu7l7NnGNwU6JIehtXCNiZx3e/Ck=; b=Qanj1I4Zzu/8WCdzHr/1gEFvRc J/8kiS5obLDXCQngBmJN7kupjy8HtU5y5J1/9z4bUg+wCO6l/6la5ngTvwbbDw73S4R52nEcZlWJQ fWSmLbdTTae1C25VdR67Ww2k4KAjUPHNtBuoWBSTcRHeUzg3nNoIUfWmWRP+vZ0Dtzsg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=9Um+1mBfdR8lP4Bbu7l7NnGNwU6JIehtXCNiZx3e/Ck=; b=c fzKKld7f55ZaznhU5HNux4RM151n3116rP8l8sAO3DDP82kTh81kWCkyVrI0UtAuZ7Bqboy0QAJoP merichHnVZ+K5ppm08gX2WheK7sKRHU3TLKHyUu4tkN2HzPxJfsMjp63kCCe6k0hziF96Krf6KtMb mXUZ+txFL8dMitQI=; Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1pNObt-007xrf-6T for linux-f2fs-devel@lists.sourceforge.net; Thu, 02 Feb 2023 01:41:59 +0000 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R551e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=ay29a033018046056; MF=yang.lee@linux.alibaba.com; NM=1; PH=DS; RN=6; SR=0; TI=SMTPD_---0VaiLIr6_1675299672; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VaiLIr6_1675299672) by smtp.aliyun-inc.com; Thu, 02 Feb 2023 09:01:13 +0800 From: Yang Li To: jaegeuk@kernel.org Date: Thu, 2 Feb 2023 09:01:11 +0800 Message-Id: <20230202010111.69078-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Headers-End: 1pNObt-007xrf-6T Subject: [f2fs-dev] [PATCH -next] f2fs: Remove unneeded semicolon X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Abaci Robot , Yang Li , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net ./fs/f2fs/checkpoint.c:1485:55-56: Unneeded semicolon Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3925 Signed-off-by: Yang Li --- fs/f2fs/checkpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index b1b39c17f2d8..b7ef8cd10b10 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@ -1482,7 +1482,7 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, struct cp_control *cpc) for (i = 0; i < NR_CURSEG_DATA_TYPE; i++) { struct curseg_info *curseg = CURSEG_I(sbi, i + CURSEG_HOT_DATA); - ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno);; + ckpt->cur_data_segno[i] = cpu_to_le32(curseg->segno); ckpt->cur_data_blkoff[i] = cpu_to_le16(curseg->next_blkoff); ckpt->alloc_type[i + CURSEG_HOT_DATA] = curseg->alloc_type; }