Messages in this thread Patch in this message | | | Date | Fri, 14 Jul 2023 15:14:18 +0800 | From | huzhi001@208suo ... | Subject | [PATCH] VFS: Fix seven errors in bitmap.c |
| |
The following checkpatch errors are removed: ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: ZhiHu <huzhi001@208suo.com> --- fs/affs/bitmap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fs/affs/bitmap.c b/fs/affs/bitmap.c index 5ba9ef2742f6..b1620b6ff8a9 100644 --- a/fs/affs/bitmap.c +++ b/fs/affs/bitmap.c @@ -87,19 +87,19 @@ affs_free_block(struct super_block *sb, u32 block) return;
err_free: - affs_warning(sb,"affs_free_block","Trying to free block %u which is already free", block); + affs_warning(sb, "affs_free_block", "Trying to free block %u which is already free", block); mutex_unlock(&sbi->s_bmlock); return;
err_bh_read: - affs_error(sb,"affs_free_block","Cannot read bitmap block %u", bm->bm_key); + affs_error(sb, "affs_free_block", "Cannot read bitmap block %u", bm->bm_key); sbi->s_bmap_bh = NULL; sbi->s_last_bmap = ~0; mutex_unlock(&sbi->s_bmlock); return;
err_range: - affs_error(sb, "affs_free_block","Block %u outside partition", block); + affs_error(sb, "affs_free_block", "Block %u outside partition", block); }
/* @@ -232,7 +232,7 @@ affs_alloc_block(struct inode *inode, u32 goal) return blk;
err_bh_read: - affs_error(sb,"affs_read_block","Cannot read bitmap block %u", bm->bm_key); + affs_error(sb, "affs_read_block", "Cannot read bitmap block %u", bm->bm_key); sbi->s_bmap_bh = NULL; sbi->s_last_bmap = ~0; err_full:
| |