[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200211123859.10429-5-pragat.pandya@gmail.com>
Date: Tue, 11 Feb 2020 18:08:45 +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 04/18] staging: exfat: Rename function "ffsLookupFile" to "ffs_lookup_file"
Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsLookupFile" to "ffs_lookup_file"
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 ba86ca572f32..6082c6e75468 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -534,7 +534,7 @@ static int ffs_sync_vol(struct super_block *sb, bool do_sync)
/* File Operation Functions */
/*----------------------------------------------------------------------*/
-static int ffsLookupFile(struct inode *inode, char *path, struct file_id_t *fid)
+static int ffs_lookup_file(struct inode *inode, char *path, struct file_id_t *fid)
{
int ret, dentry, num_entries;
struct chain_t dir;
@@ -2279,7 +2279,7 @@ static int exfat_find(struct inode *dir, struct qstr *qname,
if (qname->len == 0)
return -ENOENT;
- err = ffsLookupFile(dir, (u8 *)qname->name, fid);
+ err = ffs_lookup_file(dir, (u8 *)qname->name, fid);
if (err)
return -ENOENT;
--
2.17.1
Powered by blists - more mailing lists