Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5278830rwp; Mon, 17 Jul 2023 00:43:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlG6q1cZhuwoe9hABSgqrjXmPTib8YPnf0nENTeiy7kGzPTtx+4zreILnzCDd9vXwljhrmKA X-Received: by 2002:a05:6a21:998a:b0:134:8b50:47cd with SMTP id ve10-20020a056a21998a00b001348b5047cdmr4303839pzb.9.1689579802598; Mon, 17 Jul 2023 00:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689579802; cv=none; d=google.com; s=arc-20160816; b=I1NgywvCFP8lXQqw56T0F0RUKABNUn6e/e8ttQMPCQRMV1L4we9xocFQY+raFBMHSY ccivl7mwFjnD36nDrX+IBKvU4ms3pb/RgQalNgrFTGncaHvUiPmbpE/M7YVTUtDbOp7+ TjqxDEh//BEIshLnH/7NdSy98RVlN+LYJqKlb44K2aKy8r2Wuf5mncz21QOhXnp0xiU8 cxx7DY0Z5QqAAqU1+PLqq1sqZ6fG6CYyYBRt24uZ1Co/qfSSEOOx29re0TNX0HOoEFcD c+zyjiZIYt9w5qI2Oqbk5ht31q2usn3oauQORao6+QvQ6QdPtrYVt+xCUmzUljTnW57T qhbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=Pbo0RGyzdWlioZR1VzKEeioEngnj0wLI3iPYjEZHxw8=; fh=1a3N//HHvM8YUAy+U+YMT08JGRyZWZIGgK3TCvvGxXk=; b=mnrh9H9Yndp4NkzwAV7oK85IPUq0NUwwWSAWtPqMXpXLCGNfDV3sceEVBocJH78qda 8kGCrUIIEy9ADUqODBGPUGJh6b/3IUZDNfgs4OWD0bzF8fRb807pWNHjcd64zw+9ymsI zfaalKh3Hevo5wV/mNnBa6xdzXdlyYf/3gjSZmjf5KZKrm7n9Ltt4ONkyV6KOy1beLRp w+391l82opaJrEFzxvEhJ8BhfZQ1Gr3LjlPTyAAzl9GzoCc875Kw73XhqWdf/p9E6Fg4 qJUOanSpqWdTGc7mDj0bI4iZ7Hfm8WVBxr+G++I1vrx09oAAvjzTjk7CLwUY90Hl4PsI E08g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=HBWde2l6; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cv11-20020a056a0044cb00b006825a7e9415si10957522pfb.354.2023.07.17.00.43.10; Mon, 17 Jul 2023 00:43:22 -0700 (PDT) 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; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=HBWde2l6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230348AbjGQH0i (ORCPT + 99 others); Mon, 17 Jul 2023 03:26:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjGQH0h (ORCPT ); Mon, 17 Jul 2023 03:26:37 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE8C910FE for ; Mon, 17 Jul 2023 00:26:28 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R4D3D2XMDzBR5l8 for ; Mon, 17 Jul 2023 15:19:04 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689578344; x=1692170345; bh=O239JSFgzdSb/CBVs8BwUDeGXL+ W5C+hIf4OcRSOd8k=; b=HBWde2l6AwAB9sEsc+o03uvZ6VwpadukxMrVTGhOSrT 9wgHUXKUWZFaw2rsOypV8RJU6kzpYqN2323+IrE0t49Vz6KP3RFbWVoXnm6QzFW+ I+lRQgeyVY0QIJnuajvTLjjTQZNoXwllHkQpcHEtFcNXrwoCWfFNCTl37CwcXH1o XAfizTNLxGTy1SBPPSrQAhmQ4hkF1YOYrxeBzSGE80Y85qu9VCln/4/cjXRHUQY+ pyZTCoirLTNDo3lcuYUMl+PjFxKD29++cNEdsUj5LvFII1J9d0+9bVtRpqaU7uMY ysGu+kgs082TWvfEgU+NlMLPP5phO7rvMgZcrKkxGmw== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 6NMRIxIof6Zp for ; Mon, 17 Jul 2023 15:19:04 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R4D3D0YsTzBJR3x; Mon, 17 Jul 2023 15:19:04 +0800 (CST) MIME-Version: 1.0 Date: Mon, 17 Jul 2023 15:19:04 +0800 From: wuyonggang001@208suo.com To: clm@fb.com, josef@toxicpanda.com, dsterba@suse.com, terrelln@fb.com Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] btrfs: Modify format error In-Reply-To: <20230717071645.45023-1-zhanglibing@cdjrlc.com> References: <20230717071645.45023-1-zhanglibing@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: <12728f5d0ca3c593da3b4f4017efd1e2@208suo.com> X-Sender: wuyonggang001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Fix the following checkpatch error(s): ERROR: "foo* const bar" should be "foo * const bar" ERROR: "foo* bar" should be "foo *bar" Signed-off-by: Yonggang Wu --- fs/btrfs/compression.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c index 8818ed5c390f..4ba54a3bc552 100644 --- a/fs/btrfs/compression.c +++ b/fs/btrfs/compression.c @@ -39,9 +39,9 @@ static struct bio_set btrfs_compressed_bioset; -static const char* const btrfs_compress_types[] = { "", "zlib", "lzo", "zstd" }; +static const char * const btrfs_compress_types[] = { "", "zlib", "lzo", "zstd" }; -const char* btrfs_compress_type2str(enum btrfs_compression_type type) +const char *btrfs_compress_type2str(enum btrfs_compression_type type) { switch (type) { case BTRFS_COMPRESS_ZLIB: