* [PATCH] btrfs: Modify format error
[not found] <20230717071645.45023-1-zhanglibing@cdjrlc.com>
@ 2023-07-17 7:19 ` wuyonggang001
2023-07-20 11:08 ` David Sterba
0 siblings, 1 reply; 2+ messages in thread
From: wuyonggang001 @ 2023-07-17 7:19 UTC (permalink / raw)
To: clm, josef, dsterba, terrelln; +Cc: linux-btrfs, linux-kernel
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:
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs: Modify format error
2023-07-17 7:19 ` [PATCH] btrfs: Modify format error wuyonggang001
@ 2023-07-20 11:08 ` David Sterba
0 siblings, 0 replies; 2+ messages in thread
From: David Sterba @ 2023-07-20 11:08 UTC (permalink / raw)
To: wuyonggang001; +Cc: clm, josef, dsterba, terrelln, linux-btrfs, linux-kernel
On Mon, Jul 17, 2023 at 03:19:04PM +0800, wuyonggang001@208suo.com wrote:
> 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>
Please don't send patches to btrfs that only fix problems reported by
checkpatch and nothing else. Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-20 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20230717071645.45023-1-zhanglibing@cdjrlc.com>
2023-07-17 7:19 ` [PATCH] btrfs: Modify format error wuyonggang001
2023-07-20 11:08 ` David Sterba
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®