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 ACDA9C35254 for ; Mon, 10 Feb 2020 18:37:16 +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 72DCC20656 for ; Mon, 10 Feb 2020 18:37:16 +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="dj5je7hv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 72DCC20656 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 62E1B857C3; Mon, 10 Feb 2020 18:37:16 +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 MO00DafEIuui; Mon, 10 Feb 2020 18:37:16 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 0770185782; Mon, 10 Feb 2020 18:37:16 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id E9FC4C07FE; Mon, 10 Feb 2020 18:37:15 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8612BC0171 for ; Mon, 10 Feb 2020 18:37:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 75551857C3 for ; Mon, 10 Feb 2020 18:37:15 +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 zbrfz3t5zRxh for ; Mon, 10 Feb 2020 18:37:15 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by hemlock.osuosl.org (Postfix) with ESMTPS id 118BA85782 for ; Mon, 10 Feb 2020 18:37:15 +0000 (UTC) Received: by mail-pf1-f194.google.com with SMTP id k29so4104603pfp.13 for ; Mon, 10 Feb 2020 10:37:15 -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=kCL9QcX2KJtyxfPizFGD83Z8ooNVX2oTvcxNkikn/Ts=; b=dj5je7hvcEUczA33TOqtQ+y470CpD8/evhLPIhyNFsLBVvdOuDoALrm4qPp44LIV+n cFhJfmAp0GoCzYDPko1mb+BQGvZj8IR+bpqayC2NvaQ5O4R3a9ul7S0jQnY57XYkEuqm Hrn+vkKPeaqVERaRhWBi9GnKmfUkk1C0qKTdgkXy0sMC8zec9opfbnvolF2AJpDOYdx9 ZkNJ1NCxMJ6AFGE2ZBUZnMzFfRVqRI2Woifi7rRGp/BiAk2DCZ4Vi4XMNVycT0bXaUm4 x+972fcP3l2k1x30FILf1y9v9LleXgNBa9SO23d7NBfGp9YyOMygH7pcZvzsAzfaXnJn z6oA== 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=kCL9QcX2KJtyxfPizFGD83Z8ooNVX2oTvcxNkikn/Ts=; b=KptYdD9cziIenjp7KBNCYjmN9PF2dTpX04ZaVHQy78uZ/iKnp02U0G1XkzuOat8fe5 cyiol/jhtVrJkxlrADkScthCu9U/V81D5GjTwIWKPpvPKUjns3tqtp4nLrwFqj1Rc4Cr PtQJ4OSWsPSLlRWENobag7G0LQsSE1y9BRHtuX+acyDhRDK1hkWCtAyBzZ0wQaqEVRhH PRmr9g0qtcXmkzO57LJZCMRAd0EhDXGdU9tANMzImZr/RoVLXmNOwDpZE3t445Xt4Plk khdV4LVP/jQJLv5q6O7At6wJAD+IxZ86V4H9Vm4pziPO/lc2fT5p18Q+mGUesbXnFbQ9 qjnw== X-Gm-Message-State: APjAAAWXmYeH7xn7hRoXu0DZTSJxn/hAWe+BzQBsqMTU237/TE42H1ze dP9me+54mqIYCSJ+F5rLWZIyhJF9I5M= X-Google-Smtp-Source: APXvYqzGxQerJUOOggWdedxuKYWqVlTZmLjKxvVUTa0jHue0GqKzY9ljHH6k3xo3o3HQwp+pM7ssPg== X-Received: by 2002:a63:3e09:: with SMTP id l9mr3025858pga.149.1581359834735; Mon, 10 Feb 2020 10:37:14 -0800 (PST) Received: from localhost.localdomain ([2405:204:8308:74f3:144f:bb39:afc3:51b0]) by smtp.gmail.com with ESMTPSA id gc1sm124922pjb.20.2020.02.10.10.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2020 10:37:14 -0800 (PST) From: Pragat Pandya To: gregkh@linuxfoundation.org, valdis.kletnieks@vt.edu Date: Tue, 11 Feb 2020 00:05:48 +0530 Message-Id: <20200210183558.11836-10-pragat.pandya@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200210183558.11836-1-pragat.pandya@gmail.com> References: <20200207094612.GA562325@kroah.com> <20200210183558.11836-1-pragat.pandya@gmail.com> Cc: devel@driverdev.osuosl.org, Pragat Pandya , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [Linux-kernel-mentees] [PATCH v2 09/19] staging: exfat: Rename variable 'ClusterSize' to 'cluster_size' 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 identifier "ClusterSize" to "cluster_size" Signed-off-by: Pragat Pandya --- drivers/staging/exfat/exfat.h | 2 +- drivers/staging/exfat/exfat_super.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 43c40addf5a5..c6e3981cc370 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -243,7 +243,7 @@ struct dev_info_t { struct vol_info_t { u32 fat_type; - u32 ClusterSize; + u32 cluster_size; u32 NumClusters; u32 FreeClusters; u32 UsedClusters; diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index 7b5be94a0bb7..cac5631d0f11 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -495,7 +495,7 @@ static int ffsGetVolInfo(struct super_block *sb, struct vol_info_t *info) p_fs->used_clusters = exfat_count_used_clusters(sb); info->fat_type = p_fs->vol_type; - info->ClusterSize = p_fs->cluster_size; + info->cluster_size = p_fs->cluster_size; info->NumClusters = p_fs->num_clusters - 2; /* clu 0 & 1 */ info->UsedClusters = p_fs->used_clusters; info->FreeClusters = info->NumClusters - info->UsedClusters; @@ -3346,7 +3346,7 @@ static int exfat_statfs(struct dentry *dentry, struct kstatfs *buf) } else { info.fat_type = p_fs->vol_type; - info.ClusterSize = p_fs->cluster_size; + info.cluster_size = p_fs->cluster_size; info.NumClusters = p_fs->num_clusters - 2; info.UsedClusters = p_fs->used_clusters; info.FreeClusters = info.NumClusters - info.UsedClusters; @@ -3356,7 +3356,7 @@ static int exfat_statfs(struct dentry *dentry, struct kstatfs *buf) } buf->f_type = sb->s_magic; - buf->f_bsize = info.ClusterSize; + buf->f_bsize = info.cluster_size; buf->f_blocks = info.NumClusters; buf->f_bfree = info.FreeClusters; buf->f_bavail = info.FreeClusters; -- 2.17.1 _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees