All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pragat Pandya <pragat.pandya@gmail.com>
To: gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu
Cc: devel@driverdev.osuosl.or, linux-kernel@vger.kernel.org,
	skhan@linuxfoundation.org, linux-fsdevel@vger.kernel.org,
	linux-kernel-mentees@lists.linuxfoundation.org,
	Pragat Pandya <pragat.pandya@gmail.com>
Subject: [PATCH 05/18] staging: exfat: Rename function "ffsCreateFile" to "ffs_create_file"
Date: Tue, 11 Feb 2020 18:08:46 +0530	[thread overview]
Message-ID: <20200211123859.10429-6-pragat.pandya@gmail.com> (raw)
In-Reply-To: <20200211123859.10429-1-pragat.pandya@gmail.com>

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

Signed-off-by: Pragat Pandya <pragat.pandya@gmail.com>
---
 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 6082c6e75468..5080de9b289a 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -621,8 +621,8 @@ static int ffs_lookup_file(struct inode *inode, char *path, struct file_id_t *fi
 	return ret;
 }
 
-static int ffsCreateFile(struct inode *inode, char *path, u8 mode,
-			 struct file_id_t *fid)
+static int ffs_create_file(struct inode *inode, char *path, u8 mode,
+			   struct file_id_t *fid)
 {
 	struct chain_t dir;
 	struct uni_name_t uni_name;
@@ -2232,7 +2232,7 @@ static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode,
 
 	pr_debug("%s entered\n", __func__);
 
-	err = ffsCreateFile(dir, (u8 *)dentry->d_name.name, FM_REGULAR, &fid);
+	err = ffs_create_file(dir, (u8 *)dentry->d_name.name, FM_REGULAR, &fid);
 	if (err)
 		goto out;
 
@@ -2441,7 +2441,7 @@ static int exfat_symlink(struct inode *dir, struct dentry *dentry,
 
 	pr_debug("%s entered\n", __func__);
 
-	err = ffsCreateFile(dir, (u8 *)dentry->d_name.name, FM_SYMLINK, &fid);
+	err = ffs_create_file(dir, (u8 *)dentry->d_name.name, FM_SYMLINK, &fid);
 	if (err)
 		goto out;
 
-- 
2.17.1


WARNING: multiple messages have this Message-ID (diff)
From: Pragat Pandya <pragat.pandya@gmail.com>
To: gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu
Cc: devel@driverdev.osuosl.or,
	Pragat Pandya <pragat.pandya@gmail.com>,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-kernel-mentees@lists.linuxfoundation.org
Subject: [Linux-kernel-mentees] [PATCH 05/18] staging: exfat: Rename function "ffsCreateFile" to "ffs_create_file"
Date: Tue, 11 Feb 2020 18:08:46 +0530	[thread overview]
Message-ID: <20200211123859.10429-6-pragat.pandya@gmail.com> (raw)
In-Reply-To: <20200211123859.10429-1-pragat.pandya@gmail.com>

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

Signed-off-by: Pragat Pandya <pragat.pandya@gmail.com>
---
 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 6082c6e75468..5080de9b289a 100644
--- a/drivers/staging/exfat/exfat_super.c
+++ b/drivers/staging/exfat/exfat_super.c
@@ -621,8 +621,8 @@ static int ffs_lookup_file(struct inode *inode, char *path, struct file_id_t *fi
 	return ret;
 }
 
-static int ffsCreateFile(struct inode *inode, char *path, u8 mode,
-			 struct file_id_t *fid)
+static int ffs_create_file(struct inode *inode, char *path, u8 mode,
+			   struct file_id_t *fid)
 {
 	struct chain_t dir;
 	struct uni_name_t uni_name;
@@ -2232,7 +2232,7 @@ static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode,
 
 	pr_debug("%s entered\n", __func__);
 
-	err = ffsCreateFile(dir, (u8 *)dentry->d_name.name, FM_REGULAR, &fid);
+	err = ffs_create_file(dir, (u8 *)dentry->d_name.name, FM_REGULAR, &fid);
 	if (err)
 		goto out;
 
@@ -2441,7 +2441,7 @@ static int exfat_symlink(struct inode *dir, struct dentry *dentry,
 
 	pr_debug("%s entered\n", __func__);
 
-	err = ffsCreateFile(dir, (u8 *)dentry->d_name.name, FM_SYMLINK, &fid);
+	err = ffs_create_file(dir, (u8 *)dentry->d_name.name, FM_SYMLINK, &fid);
 	if (err)
 		goto out;
 
-- 
2.17.1

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

  parent reply	other threads:[~2020-02-11 12:40 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-11 12:38 [PATCH 00/18] Rename some identifier and functions Pragat Pandya
2020-02-11 12:38 ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 01/18] staging: exfat: Rename function "ffsUmountVol" to "ffs_umount_vol" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 19:27   ` Greg KH
2020-02-11 19:27     ` [Linux-kernel-mentees] " Greg KH
2020-02-11 12:38 ` [PATCH 02/18] staging: exfat: Rename function "ffsGetVolInfo" to "ffs_get_vol_info" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 03/18] staging: exfat: Rename function "ffsSyncVol" to "ffs_sync_vol" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 04/18] staging: exfat: Rename function "ffsLookupFile" to "ffs_lookup_file" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` Pragat Pandya [this message]
2020-02-11 12:38   ` [Linux-kernel-mentees] [PATCH 05/18] staging: exfat: Rename function "ffsCreateFile" to "ffs_create_file" Pragat Pandya
2020-02-11 12:38 ` [PATCH 06/18] staging: exfat: Rename function "ffsReadFile" to "ffs_read_file" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 07/18] staging: exfat: Rename variable "LogSector" to "log_sector" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 08/18] staging: exfat: Rename function "ffsWriteFile" to "ffs_write_file" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 09/18] staging: exfat: Rename function "ffsTruncateFile" to "ffs_truncate_file" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 10/18] staging: exfat: Rename function "ffsMoveFile" to "ffs_move_file" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 11/18] staging: exfat: Rename function "ffsRemoveFile" to "ffs_remove_file" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 12/18] staging: exfat: Rename function "ffsMountVol" to "ffs_mount_vol" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 13/18] staging: exfat: Rename function "ffsReadStat" to "ffs_read_stat" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 14/18] staging: exfat: Rename function "ffsWriteStat" to "ffs_write_stat" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 15/18] staging: exfat: Rename function "ffsMapCluster" to "ffs_map_cluster" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 16/18] staging: exfat: Rename function "ffsCreateDir" to "ffs_create_dir" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 17/18] staging: exfat: Rename function "ffsReadDir" to "ffs_read_dir" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya
2020-02-11 12:38 ` [PATCH 18/18] staging: exfat: Rename function "ffsRemoveDir" to "ffs_remove_dir" Pragat Pandya
2020-02-11 12:38   ` [Linux-kernel-mentees] " Pragat Pandya

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200211123859.10429-6-pragat.pandya@gmail.com \
    --to=pragat.pandya@gmail.com \
    --cc=devel@driverdev.osuosl.or \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel-mentees@lists.linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=valdis.kletnieks@vt.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.