[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200211123859.10429-17-pragat.pandya@gmail.com>
Date: Tue, 11 Feb 2020 18:08:57 +0530
From: Pragat Pandya <pragat.pandya@...il.com>
To: gregkh@...uxfoundation.org, valdis.kletnieks@...edu
Cc: devel@...verdev.osuosl.or, linux-kernel@...r.kernel.org,
skhan@...uxfoundation.org, linux-fsdevel@...r.kernel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
Pragat Pandya <pragat.pandya@...il.com>
Subject: [PATCH 16/18] staging: exfat: Rename function "ffsCreateDir" to "ffs_create_dir"
Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsCreateDir" to "ffs_create_dir" in
source.
Signed-off-by: Pragat Pandya <pragat.pandya@...il.com>
---
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 87a7bcba4921..d8265dabe37d 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -1776,7 +1776,7 @@ static int ffs_map_cluster(struct inode *inode, s32 clu_offset, u32 *clu)
/* Directory Operation Functions */
/*----------------------------------------------------------------------*/
-static int ffsCreateDir(struct inode *inode, char *path, struct file_id_t *fid)
+static int ffs_create_dir(struct inode *inode, char *path, struct file_id_t *fid)
{
int ret = 0;
struct chain_t dir;
@@ -2505,7 +2505,7 @@ static int exfat_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
pr_debug("%s entered\n", __func__);
- err = ffsCreateDir(dir, (u8 *)dentry->d_name.name, &fid);
+ err = ffs_create_dir(dir, (u8 *)dentry->d_name.name, &fid);
if (err)
goto out;
--
2.17.1
Powered by blists - more mailing lists