Fix checkpatch warning: Avoid CamelCase Change all occurrences of function "ffsMapCluster" to "ffs_map_cluster" in source. Signed-off-by: Pragat Pandya <pragat.pandya@xxxxxxxxx> --- drivers/staging/exfat/exfat_super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index 5fb084941c3b..87a7bcba4921 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -1638,7 +1638,7 @@ static int ffs_write_stat(struct inode *inode, struct dir_entry_t *info) return ret; } -static int ffsMapCluster(struct inode *inode, s32 clu_offset, u32 *clu) +static int ffs_map_cluster(struct inode *inode, s32 clu_offset, u32 *clu) { s32 num_clusters, num_alloced; bool modified = false; @@ -2954,7 +2954,7 @@ static int exfat_bmap(struct inode *inode, sector_t sector, sector_t *phys, EXFAT_I(inode)->fid.size = i_size_read(inode); - err = ffsMapCluster(inode, clu_offset, &cluster); + err = ffs_map_cluster(inode, clu_offset, &cluster); if (!err && (cluster != CLUSTER_32(~0))) { *phys = START_SECTOR(cluster) + sec_offset; -- 2.17.1