lkml.org 
[lkml]   [2020]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 04/18] staging: exfat: Rename function "ffsLookupFile" to "ffs_lookup_file"
    Date
    Fix checkpatch warning: Avoid CamelCase
    Change all occurrences of function "ffsLookupFile" to "ffs_lookup_file"
    in source.

    Signed-off-by: Pragat Pandya <pragat.pandya@gmail.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
    \
     
     \ /
      Last update: 2020-02-11 13:40    [W:4.074 / U:0.148 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site