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,URIBL_BLOCKED,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 A4782C3B187 for ; Tue, 11 Feb 2020 12:41:22 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 7BEB2206DB for ; Tue, 11 Feb 2020 12:41:22 +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="IEGjpnrs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BEB2206DB 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 fraxinus.osuosl.org (Postfix) with ESMTP id 6C2B1852DB; Tue, 11 Feb 2020 12:41:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ulaP3Si1xxOY; Tue, 11 Feb 2020 12:41:21 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 67C8A84537; Tue, 11 Feb 2020 12:41:21 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 621A9C1D88; Tue, 11 Feb 2020 12:41:21 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8FBB5C07FE for ; Tue, 11 Feb 2020 12:41:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7CCAA84DB8 for ; Tue, 11 Feb 2020 12:41:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F+YtiKUwLa1E for ; Tue, 11 Feb 2020 12:41:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id EF7A982441 for ; Tue, 11 Feb 2020 12:41:19 +0000 (UTC) Received: by mail-pl1-f193.google.com with SMTP id b22so4222387pls.12 for ; Tue, 11 Feb 2020 04:41:19 -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=drrsRBzj4RiwpiBW9ey8iRTvmpIMivo93MnlfeZUAvY=; b=IEGjpnrs+ud3FKZxjAeWy+ZMsuPBJVltdD5jjB6tkPT7+74b06q9HkrLZpyMQVigT3 0H0Wqysbe8Z4Y8/5gP5YQXVR4/NBM39KPSKUvJ6CnSDAbZulxO31ZiFs1uRxz2NdHmrc BGb12U5MlE0ve46kxM9PG068WC3Q26/uMMPaqw+PEmJ7MVjbCoTu2C9P/4Tf/3RS00uK Gm3iCZjcocwzEoy21c99SPmYOGScL/SEGIA0kKibnXWqC6BGuwCtzHZ5FTOBozPKCe0p 0GunEaf9fDE9CZwwA3MY20h2ORRHIsNSZZLk14s2K51J+7fkWsgz9Sdu8rLIIIsHK0E8 YDhg== 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=drrsRBzj4RiwpiBW9ey8iRTvmpIMivo93MnlfeZUAvY=; b=I3p0VDP5Ue2FybXaaXCgWLMhivNtV4fmuHbV74t5yBoA/w0P4mUwfKn/UKVvxMyakn TL1coM/mCcYtnHj/FQC2S0YPTcLQoq9B7wd3WQ6rcTfkEQEsS6RcScR9Zi8zEEmY2t/S lVdLbeJLEedrhVC2/pgZS8GsFx8ilSwi6ioMv+cjr2+aSb5+HSpE9K0Td+ho718fyeOj 52PeI2rdGjlJaFzk3ju+K84JbEdVsp2szo9tImGOJp8AbeNM95+ojJyXQ0DRRFgR8vfJ SSGoTFPtOtPnvLC58b/o7VxJYe2qQ16lgPPlTiOlGIhDDUutmGy70iE/JlqWS95rIQb5 vEJw== X-Gm-Message-State: APjAAAXMPZvezT2ouLUfI1KeSEORu3fsWq+h8OxlbO+AjSHWiZi8zUWd qbnJDd5/2+hJjJYk/C82YGA= X-Google-Smtp-Source: APXvYqytWIydk0fxK+306Zof47c7NDMYqtQimBpZ3pEPaeFI2uhGuxlG7EmH4VvXbTH7AzPFaVhFxA== X-Received: by 2002:a17:90a:e291:: with SMTP id d17mr3586183pjz.116.1581424879524; Tue, 11 Feb 2020 04:41:19 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 04:41:18 -0800 (PST) From: Pragat Pandya To: gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu Date: Tue, 11 Feb 2020 18:08:52 +0530 Message-Id: <20200211123859.10429-12-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 11/18] staging: exfat: Rename function "ffsRemoveFile" to "ffs_remove_file" 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 "ffsRemoveFile" to "ffs_remove_file" in source. Signed-off-by: Pragat Pandya --- 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 51893f8c3e92..05a4012c5c62 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -1296,7 +1296,7 @@ static int ffs_move_file(struct inode *old_parent_inode, struct file_id_t *fid, return ret; } -static int ffsRemoveFile(struct inode *inode, struct file_id_t *fid) +static int ffs_remove_file(struct inode *inode, struct file_id_t *fid) { s32 dentry; int ret = 0; @@ -2399,7 +2399,7 @@ static int exfat_unlink(struct inode *dir, struct dentry *dentry) EXFAT_I(inode)->fid.size = i_size_read(inode); - err = ffsRemoveFile(dir, &(EXFAT_I(inode)->fid)); + err = ffs_remove_file(dir, &(EXFAT_I(inode)->fid)); if (err) goto out; @@ -2449,7 +2449,7 @@ static int exfat_symlink(struct inode *dir, struct dentry *dentry, err = ffs_write_file(dir, &fid, (char *)target, len, &ret); if (err) { - ffsRemoveFile(dir, &fid); + ffs_remove_file(dir, &fid); 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