* [PATCH] fs: Clean up errors in file.c
@ 2023-10-13 7:10 KaiLong Wang
0 siblings, 0 replies; 2+ messages in thread
From: KaiLong Wang @ 2023-10-13 7:10 UTC (permalink / raw)
To: willy; +Cc: linux-kernel
Fix the following errors reported by checkpatch:
ERROR: space required before the open parenthesis '('
Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
---
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;
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] fs: Clean up errors in file.c
@ 2023-10-13 7:06 KaiLong Wang
0 siblings, 0 replies; 2+ messages in thread
From: KaiLong Wang @ 2023-10-13 7:06 UTC (permalink / raw)
To: aivazian.tigran; +Cc: linux-kernel
Fix the following errors reported by checkpatch:
ERROR: space required before the open parenthesis '('
Signed-off-by: KaiLong Wang <wangkailong@jari.cn>
---
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;
--
2.17.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-13 7:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-13 7:10 [PATCH] fs: Clean up errors in file.c KaiLong Wang
-- strict thread matches above, loose matches on Subject: below --
2023-10-13 7:06 KaiLong Wang
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®