lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 17 Jul 2023 15:19:04 +0800
From:   wuyonggang001@...suo.com
To:     clm@...com, josef@...icpanda.com, dsterba@...e.com, terrelln@...com
Cc:     linux-btrfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] btrfs: Modify format error

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ