From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C68EDC3F68F for ; Tue, 11 Feb 2020 12:41:55 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 93807206DB for ; Tue, 11 Feb 2020 12:41:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ej8gJHzU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93807206DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-kernel-mentees-bounces@lists.linuxfoundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 830F48733F; Tue, 11 Feb 2020 12:41:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6zEPXodoRiYF; Tue, 11 Feb 2020 12:41:55 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 3160886EA3; Tue, 11 Feb 2020 12:41:55 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2E041C1D88; Tue, 11 Feb 2020 12:41:55 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4B599C07FE for ; Tue, 11 Feb 2020 12:41:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 3AF6A8733F for ; Tue, 11 Feb 2020 12:41:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Saq6JJwYW2vh for ; Tue, 11 Feb 2020 12:41:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pj1-f68.google.com (mail-pj1-f68.google.com [209.85.216.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 78E5E86EA3 for ; Tue, 11 Feb 2020 12:41:53 +0000 (UTC) Received: by mail-pj1-f68.google.com with SMTP id m13so1210143pjb.2 for ; Tue, 11 Feb 2020 04:41:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CIfSyxk8m5KdaRw+eqZDYzeqYcBL0deHQR3VHGn90v4=; b=ej8gJHzUU83hNwVW5kBvIGeS1YVDTmnNQYfkx15u3grPC56UMQ5VST2GQ1JrK13rb+ Xh+RPF1kNym7AENJjmiBM3kOPX3lX5WStNnxEztxXA1LmbhKaWBNwlPWtjGuOTfiDT2g iFYYURmNmY2J032balplXwfLBPCwP06eobN3gqcWhlpdZwnkg+AVvg5A7l+zD4s70WRc 2EUjefuvq9iSM3sOvlg6JMD+NQ/STkiyhE7NBOBD5oU7JIaAc8wykgrHlL19s2fNwzyy erspp3FJXgLZDq8MmGdmU6r4oyCJpT0+UIliqlxuqoiD3y7bMBgZKfnc4Hp3v82GW1yW q2wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CIfSyxk8m5KdaRw+eqZDYzeqYcBL0deHQR3VHGn90v4=; b=eOMNIVZBtPSfa/D+A1JnjfRcMU00chsPmFYeKNf2a9T+L+xtg3i8JYJt32ijCSJzUf W8b8YUBotSGoO7BG1e7tgvw+oWeyI8VRRnp95C7M/VF7/Emmlv1M5TPeOWNzpf8qCeUR W1h7VgicRQA1ZYJSYc+EsVUin+4s8VgVYCys0Lm37YBegUui22/mzGZu322Jenb59y15 5dzyF+iTjVjeDNCXqgeikI+9sifTRRnxqOYxjkZG8ECFCmMm13VvLZEx6jbLtRndkF/N UbGI/1G3NCyo0jCpI3FKhM6oqK/2jS7HZCfeY0Hyh+G2TToK3dfkO9E1fvcN3OpfPaaP vRvA== X-Gm-Message-State: APjAAAV6j+sXTvu/k0CjzkW9MzEnJIPjvJgUgZ8hn9vxALAjkHAxCCbI wAXH9u29p212otA1KT+WlwU= X-Google-Smtp-Source: APXvYqy8spf+MreM/IpAWINLH7taan10tKj7B/NVCR51nFh89nzqEh/qABKbj7mQEimKcbBihbbt9A== X-Received: by 2002:a17:902:547:: with SMTP id 65mr17038138plf.50.1581424913115; Tue, 11 Feb 2020 04:41:53 -0800 (PST) Received: from localhost.localdomain ([2409:4041:69c:214f:144f:bb39:afc3:51b0]) by smtp.gmail.com with ESMTPSA id d1sm3876789pgj.79.2020.02.11.04.41.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 04:41:52 -0800 (PST) From: Pragat Pandya To: gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu Date: Tue, 11 Feb 2020 18:08:58 +0530 Message-Id: <20200211123859.10429-18-pragat.pandya@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200211123859.10429-1-pragat.pandya@gmail.com> References: <20200211123859.10429-1-pragat.pandya@gmail.com> Cc: devel@driverdev.osuosl.or, Pragat Pandya , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [Linux-kernel-mentees] [PATCH 17/18] staging: exfat: Rename function "ffsReadDir" to "ffs_read_dir" X-BeenThere: linux-kernel-mentees@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-kernel-mentees-bounces@lists.linuxfoundation.org Sender: "Linux-kernel-mentees" Fix checkpatch warning: Avoid CamelCase Change all occurrences of function "ffsReadDir" to "ffs_read_dir" in source. Signed-off-by: Pragat Pandya --- 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 d8265dabe37d..46aeff4fb3d3 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -1816,7 +1816,7 @@ static int ffs_create_dir(struct inode *inode, char *path, struct file_id_t *fid return ret; } -static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) +static int ffs_read_dir(struct inode *inode, struct dir_entry_t *dir_entry) { int i, dentry, clu_offset; int ret = 0; @@ -2111,7 +2111,7 @@ static int exfat_readdir(struct file *filp, struct dir_context *ctx) EXFAT_I(inode)->fid.size = i_size_read(inode); EXFAT_I(inode)->fid.rwoffset = cpos >> DENTRY_SIZE_BITS; - err = ffsReadDir(inode, &de); + err = ffs_read_dir(inode, &de); if (err) { /* at least we tried to read a sector * move cpos to next sector position (should be aligned) -- 2.17.1 _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees