mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
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
Date: Mon, 17 Jul 2023 15:19:04 +0800	[thread overview]
Message-ID: <12728f5d0ca3c593da3b4f4017efd1e2@208suo.com> (raw)
In-Reply-To: <20230717071645.45023-1-zhanglibing@cdjrlc.com>

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 <wuyonggang001@208suo.com>
---
  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:

       reply	other threads:[~2023-07-17  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230717071645.45023-1-zhanglibing@cdjrlc.com>
2023-07-17  7:19 ` wuyonggang001 [this message]
2023-07-20 11:08   ` David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12728f5d0ca3c593da3b4f4017efd1e2@208suo.com \
    --to=wuyonggang001@208suo.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.com \
    --cc=josef@toxicpanda.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=terrelln@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®