[Linux-kernel-mentees] [PATCH 08/18] staging: exfat: Rename function "ffsWriteFile" to "ffs_write_file"

Pragat Pandya pragat.pandya at gmail.com
Tue Feb 11 12:38:49 UTC 2020


Fix checkpatch warning: Avoid CamelCase
Change all occurrences of function "ffsWriteFile" to "ffs_write_file" in
source.

Signed-off-by: Pragat Pandya <pragat.pandya at gmail.com>
---
 drivers/staging/exfat/exfat_super.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c
index 3393c97bd9cb..d4e6f6a210e9 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -788,8 +788,8 @@ static int ffs_read_file(struct inode *inode, struct file_id_t *fid, void *buffe
 	return ret;
 }
 
-static int ffsWriteFile(struct inode *inode, struct file_id_t *fid,
-			void *buffer, u64 count, u64 *wcount)
+static int ffs_write_file(struct inode *inode, struct file_id_t *fid,
+			  void *buffer, u64 count, u64 *wcount)
 {
 	bool modified = false;
 	s32 offset, sec_offset, clu_offset;
@@ -2446,7 +2446,7 @@ static int exfat_symlink(struct inode *dir, struct dentry *dentry,
 		goto out;
 
 
-	err = ffsWriteFile(dir, &fid, (char *)target, len, &ret);
+	err = ffs_write_file(dir, &fid, (char *)target, len, &ret);
 
 	if (err) {
 		ffsRemoveFile(dir, &fid);
-- 
2.17.1



More information about the Linux-kernel-mentees mailing list