Fix checkpatch warning: Avoid CamelCase Change all occurrences of function "ffsMoveFile" to "ffs_move_file" in source. Signed-off-by: Pragat Pandya <pragat.pandya@xxxxxxxxx> --- drivers/staging/exfat/exfat_super.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index 5bbd31e6ba3c..51893f8c3e92 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -1167,8 +1167,8 @@ static void update_parent_info(struct file_id_t *fid, } } -static int ffsMoveFile(struct inode *old_parent_inode, struct file_id_t *fid, - struct inode *new_parent_inode, struct dentry *new_dentry) +static int ffs_move_file(struct inode *old_parent_inode, struct file_id_t *fid, + struct inode *new_parent_inode, struct dentry *new_dentry) { s32 ret; s32 dentry; @@ -2605,8 +2605,8 @@ static int exfat_rename(struct inode *old_dir, struct dentry *old_dentry, EXFAT_I(old_inode)->fid.size = i_size_read(old_inode); - err = ffsMoveFile(old_dir, &(EXFAT_I(old_inode)->fid), new_dir, - new_dentry); + err = ffs_move_file(old_dir, &(EXFAT_I(old_inode)->fid), new_dir, + new_dentry); if (err) goto out; -- 2.17.1