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: 51616 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp603781wrn; Wed, 1 Feb 2023 17:03:52 -0800 (PST) X-Google-Smtp-Source: AK7set+01WRyhUNkyQQzO/xF8scljjpsZB+7GlnOjN33fbUiUfXaTRGD3GDQ9xV7UMOTd0zGb0I0 X-Received: by 2002:a05:6a21:3a92:b0:b0:3512:4d5e with SMTP id zv18-20020a056a213a9200b000b035124d5emr4524435pzb.18.1675299832282; Wed, 01 Feb 2023 17:03:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675299832; cv=none; d=google.com; s=arc-20160816; b=tEgBoi7e3NK1uAYBY/UsPCCs71hlvOqRrul9Tf+CP8IrcbXg/bPx+byKiywqTTcpEq 9QpSg1hFmY03SUq6yIZ8ukoc58ijr18G60b1pqlP/M1vpvPwiGGQ/eCAP5T7uSLvuiiG BVLampWbEY5D7lVvB3sDLqn2LtbCU0W4KUv6ngN/9NbSW/DXxT16JHCo1dKADJDAywAM 5g8ZUlRd8SYuw1rmwMZf0wcMsHGXn5MkRFWGvS0vQzFHolzPbgkyV5eLX4heEIZUF23Z M5gCzNxlec98/nOY83ad2z9au9WqNrUsOc4rFFspmTyJrqfkrGS1riHU7HgUhyE6QEI9 1rfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=9Um+1mBfdR8lP4Bbu7l7NnGNwU6JIehtXCNiZx3e/Ck=; b=BjDsA6OKiW1pBB1KMWNa+0ETPltMdjgo66JnrXPPQfdI0ufhXoYckEDZqnC0aou1yY NptX+tPXpgemYAb6ZLkuXixrOuugFgD+3x85L9ABN7BD1EmybKaHtrzeHtOxB4JUvzIV wgw4gjxYuD4LiP9r/FQ6vL1p8k2fRHWCamWLPB/u83+s2KMh8MzCZCHqRqQgelpCT1rU rOgGuTJqL2c+QoyFQb/InJdDcEgpxIS5k+tv/Y61SEHjXbrwXPVJrEDVxLqsG3WOhLVT qhPTAXZjYIyEY7E7qQ4CpUpWVYAncsvg3tyqSnqgIFk5L+u4tL7x62/GVlH/kYc0Y7iI FNqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w8-20020a637b08000000b004daa0a4a4eesi20753610pgc.174.2023.02.01.17.03.40; Wed, 01 Feb 2023 17:03:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229563AbjBBBBT (ORCPT + 99 others); Wed, 1 Feb 2023 20:01:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbjBBBBR (ORCPT ); Wed, 1 Feb 2023 20:01:17 -0500 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B3E35CE7A for ; Wed, 1 Feb 2023 17:01:15 -0800 (PST) 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 Cc: chao@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] f2fs: Remove unneeded semicolon 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-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756679196630262870?= X-GMAIL-MSGID: =?utf-8?q?1756679196630262870?= ./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; }