From patchwork Fri Oct 13 07:10:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: KaiLong Wang X-Patchwork-Id: 152350 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1711872vqb; Fri, 13 Oct 2023 00:12:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZQ1am1fxcurSWtp+ngTnUjbUqktLYRylilXTx0zWutzcfGriEKPcxqm99ijrPrTe5Y1ug X-Received: by 2002:a05:6a00:3386:b0:6b2:51a0:e1c9 with SMTP id cm6-20020a056a00338600b006b251a0e1c9mr1160779pfb.1.1697181156121; Fri, 13 Oct 2023 00:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697181156; cv=none; d=google.com; s=arc-20160816; b=JOwe9XdcSrwES2w8fC74vgP8zlmDk3Kmhqye1UuktU19ZBdUF0EZBEiMsQDXoqIQAu P5m42SQxntiw1knG5q015pOsVUHAbWVUiQ3zO83TKpKAi0uBF/1FpDXFp4RSVlSSnLb4 C9qQrypSwheqSHHnP2GMCqfPEexx3ImXWJctB3EJhPlsZ3DyQ5EAPiq6ytNtOOHlLyMF 6qJaX1kTBoeU9wkLEpltHqYaxsM42nz9KmurR/hb+zufC1aPc1VGYTwOlxFXQCLBCjUG NGaVe+3YkApFF4SVleywYK9gs4/hKvXuOiVUGBx5tYdZR6z3r+ZPxE84/ziYUZjzBnKi e3nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=MxFDU7O3puFVjGtrBmklyWpR6c6YaUlWClY919+V5EY=; fh=NKakE6gbKM+DZ3qfe4KoK2b8awEnr+Iti4fSKoogeFE=; b=i9uo4464H90VA7mAu79pXYktSDrIzIyu54GNHKG/+uLYKwfOQFv/OO7G/ZO8iKFLUB /oxAlidMnRyXRy+5hl14l4uIvoualkf6sPDxXX5319Dj78hIdaefxdZwoKOmVpRqo/2g X+JGpEBlM3tY0qDUsdoTZ99k3QjxRpVWYA70sbaSh/dD0nm02xmBDalVQPmaiPVIKvrO bsf7TEq4MMooZx6J5EZzLdqWOkWTyzgw4MYvZJov+3hzS7F5p74veiyGq1oaGbtpcII1 34s2Kxo4ZkdkEaC8Heh/f373gAW7XzzqjDhGlgv4vkvH1gLN1wc4LI6TcRmaGcUHXSBq jfYw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id s6-20020a056a0008c600b00690d4fad431si17221534pfu.260.2023.10.13.00.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 00:12:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B790F829EA2F; Fri, 13 Oct 2023 00:12:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbjJMHMX (ORCPT + 19 others); Fri, 13 Oct 2023 03:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229688AbjJMHMW (ORCPT ); Fri, 13 Oct 2023 03:12:22 -0400 Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 79A7BA9 for ; Fri, 13 Oct 2023 00:12:20 -0700 (PDT) Received: from wangkailong$jari.cn ( [182.148.14.172] ) by ajax-webmail-localhost.localdomain (Coremail) ; Fri, 13 Oct 2023 15:10:38 +0800 (GMT+08:00) X-Originating-IP: [182.148.14.172] Date: Fri, 13 Oct 2023 15:10:38 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "KaiLong Wang" To: willy@infradead.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] fs: Clean up errors in file.c X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn MIME-Version: 1.0 Message-ID: X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDHZD9u7Shlqt7BAA--.689W X-CM-SenderInfo: 5zdqwypdlo00nj6mt2flof0/1tbiAQADB2UnvzMAKgAEsl X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 13 Oct 2023 00:12:33 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779623195838807019 X-GMAIL-MSGID: 1779623427854510533 Fix the following errors reported by checkpatch: ERROR: space required before the open parenthesis '(' Signed-off-by: KaiLong Wang --- fs/bfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bfs/file.c b/fs/bfs/file.c index adc2230079c6..f2b21d17da49 100644 --- a/fs/bfs/file.c +++ b/fs/bfs/file.c @@ -53,7 +53,7 @@ static int bfs_move_blocks(struct super_block *sb, unsigned long start, dprintf("%08lx-%08lx->%08lx\n", start, end, where); for (i = start; i <= end; i++) - if(bfs_move_block(i, where + i, sb)) { + if (bfs_move_block(i, where + i, sb)) { dprintf("failed to move block %08lx -> %08lx\n", i, where + i); return -EIO;