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=-6.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,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 E35BAC32771 for ; Mon, 27 Jan 2020 10:14:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B25AA208CD for ; Mon, 27 Jan 2020 10:14:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gsW2EdDA" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729872AbgA0KOu (ORCPT ); Mon, 27 Jan 2020 05:14:50 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:37336 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727409AbgA0KOs (ORCPT ); Mon, 27 Jan 2020 05:14:48 -0500 Received: by mail-pf1-f193.google.com with SMTP id p14so4702019pfn.4; Mon, 27 Jan 2020 02:14:47 -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=FgG2toYigAj1ktFJcq6epdxSs10JCAGQPLYrkydZSrU=; b=gsW2EdDAJ5J5MGSTPOP4tPFF/qVlbhVDDDkPTXMLCiFsf8MrpV1mYL0ryJqHmvxVj0 G1oF8uX7wIdswrCIcn6NdtxXnrLDIaj9gry5actVTsbVGfX2HjWkHceqdwqvX4LI+9B2 6i/0mLhPVjwK6pgcTmgvEKO87HFDR5FV9vMIs96njKMezLdDD+aUbICzp/iW997r2nVc fYZJ7DWp+xeuowftP1LpnbVOFo1jZSg4oIgZh+Ectpp1DiwUgJjour10MX/U17J9pS1F PjRpJwaktVHKHwOdQSoZY3djUyj9a06l1iDwcefb7yVKZ3OfaG49NtYvcV/P5qXF411m yC7g== 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=FgG2toYigAj1ktFJcq6epdxSs10JCAGQPLYrkydZSrU=; b=b4maPubKQefOppLZIoPiJHJp6OJSqcXsVYfIo65A/6xn8FN8YC6dWUExuhGjEdIWyt N11NwACzLSIEVlWKuchy3YHGx2j2BtIoULE/GvQtAvNT4Hm1seWL8aC3+o6N3wHoK8X5 AJGqpDHfQW7l6uEcuGcwg7XR294+Y293/Rfo5pwEZatJFMdu0Pabf++j5B+OTV0SnyDT emETPLU2ZzP8gTqT+KvO+rmM2W4fiax5jsZXMnE69PxD2gobL8TCAj8e99ND6kUphpIR sOAo4fiSWq4Q+Mg1fmmI2CWoS0ForoVwb7IWzpX+FVWDFcKB9+6jVVY3QE943+y40nP3 TKVQ== X-Gm-Message-State: APjAAAW22Yx/bBvrPaUjNYnMZ20v9ZQ3x/OUmwE1EURJgbNIV4lwcar1 ba7pzdaE/dt7LI/zmrpbLxA= X-Google-Smtp-Source: APXvYqxW9a4wLsiRch/9+vzAD1eI82074j8NuRdQUwRIHJxGUjE+78WhrJr463frQVmVFBttnhTzPA== X-Received: by 2002:a63:4a50:: with SMTP id j16mr19137473pgl.323.1580120087409; Mon, 27 Jan 2020 02:14:47 -0800 (PST) Received: from localhost.localdomain ([2405:205:c902:a5e9:3956:8df2:aee5:9cf6]) by smtp.gmail.com with ESMTPSA id s15sm15504138pgq.4.2020.01.27.02.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 02:14:46 -0800 (PST) From: Pragat Pandya To: valdis.kletnieks@vt.edu, gregkh@linuxfoundation.org Cc: linux-fsdevel@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, skhan@linuxfoundation.org, Pragat Pandya Subject: [PATCH 05/22] staging: exfat: Rename variable "Minute" to "minute" Date: Mon, 27 Jan 2020 15:43:26 +0530 Message-Id: <20200127101343.20415-6-pragat.pandya@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200127101343.20415-1-pragat.pandya@gmail.com> References: <20200127101343.20415-1-pragat.pandya@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change all the occurrences of "Minute" to "minute" in exfat. Signed-off-by: Pragat Pandya --- drivers/staging/exfat/exfat.h | 2 +- drivers/staging/exfat/exfat_super.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 03eaf25692aa..755e2fd6e3fd 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -226,7 +226,7 @@ struct date_time_t { u16 month; u16 day; u16 hour; - u16 Minute; + u16 minute; u16 Second; u16 MilliSecond; }; diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index ae9180be4cc0..70fa5f118a38 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -60,7 +60,7 @@ static void exfat_write_super(struct super_block *sb); static void exfat_time_fat2unix(struct timespec64 *ts, struct date_time_t *tp) { ts->tv_sec = mktime64(tp->year + 1980, tp->month + 1, tp->day, - tp->hour, tp->Minute, tp->Second); + tp->hour, tp->minute, tp->Second); ts->tv_nsec = tp->MilliSecond * NSEC_PER_MSEC; } @@ -76,7 +76,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) if (second < UNIX_SECS_1980) { tp->MilliSecond = 0; tp->Second = 0; - tp->Minute = 0; + tp->minute = 0; tp->hour = 0; tp->day = 1; tp->month = 1; @@ -87,7 +87,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) if (second >= UNIX_SECS_2108) { tp->MilliSecond = 999; tp->Second = 59; - tp->Minute = 59; + tp->minute = 59; tp->hour = 23; tp->day = 31; tp->month = 12; @@ -97,7 +97,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) tp->MilliSecond = ts->tv_nsec / NSEC_PER_MSEC; tp->Second = tm.tm_sec; - tp->Minute = tm.tm_min; + tp->minute = tm.tm_min; tp->hour = tm.tm_hour; tp->day = tm.tm_mday; tp->month = tm.tm_mon + 1; @@ -1509,7 +1509,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) info->CreateTimestamp.month = tm.mon; info->CreateTimestamp.day = tm.day; info->CreateTimestamp.hour = tm.hour; - info->CreateTimestamp.Minute = tm.min; + info->CreateTimestamp.minute = tm.min; info->CreateTimestamp.Second = tm.sec; info->CreateTimestamp.MilliSecond = 0; @@ -1518,7 +1518,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) info->ModifyTimestamp.month = tm.mon; info->ModifyTimestamp.day = tm.day; info->ModifyTimestamp.hour = tm.hour; - info->ModifyTimestamp.Minute = tm.min; + info->ModifyTimestamp.minute = tm.min; info->ModifyTimestamp.Second = tm.sec; info->ModifyTimestamp.MilliSecond = 0; @@ -1606,7 +1606,7 @@ static int ffsWriteStat(struct inode *inode, struct dir_entry_t *info) /* set FILE_INFO structure using the acquired struct dentry_t */ tm.sec = info->CreateTimestamp.Second; - tm.min = info->CreateTimestamp.Minute; + tm.min = info->CreateTimestamp.minute; tm.hour = info->CreateTimestamp.hour; tm.day = info->CreateTimestamp.day; tm.mon = info->CreateTimestamp.month; @@ -1614,7 +1614,7 @@ static int ffsWriteStat(struct inode *inode, struct dir_entry_t *info) p_fs->fs_func->set_entry_time(ep, &tm, TM_CREATE); tm.sec = info->ModifyTimestamp.Second; - tm.min = info->ModifyTimestamp.Minute; + tm.min = info->ModifyTimestamp.minute; tm.hour = info->ModifyTimestamp.hour; tm.day = info->ModifyTimestamp.day; tm.mon = info->ModifyTimestamp.month; @@ -1929,7 +1929,7 @@ static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) dir_entry->CreateTimestamp.month = tm.mon; dir_entry->CreateTimestamp.day = tm.day; dir_entry->CreateTimestamp.hour = tm.hour; - dir_entry->CreateTimestamp.Minute = tm.min; + dir_entry->CreateTimestamp.minute = tm.min; dir_entry->CreateTimestamp.Second = tm.sec; dir_entry->CreateTimestamp.MilliSecond = 0; @@ -1938,7 +1938,7 @@ static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) dir_entry->ModifyTimestamp.month = tm.mon; dir_entry->ModifyTimestamp.day = tm.day; dir_entry->ModifyTimestamp.hour = tm.hour; - dir_entry->ModifyTimestamp.Minute = tm.min; + dir_entry->ModifyTimestamp.minute = tm.min; dir_entry->ModifyTimestamp.Second = tm.sec; dir_entry->ModifyTimestamp.MilliSecond = 0; -- 2.17.1 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=-6.5 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,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 18CEFC33CB7 for ; Mon, 27 Jan 2020 10:14:51 +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 E2A51214AF for ; Mon, 27 Jan 2020 10:14:50 +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="gsW2EdDA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E2A51214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id CE3B1878D1; Mon, 27 Jan 2020 10:14:50 +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 agYVf49pQWra; Mon, 27 Jan 2020 10:14:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 342D2878C4; Mon, 27 Jan 2020 10:14:50 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 8582E1BF294 for ; Mon, 27 Jan 2020 10:14:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8234E836CE for ; Mon, 27 Jan 2020 10:14:48 +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 imWrlGn3WlpF for ; Mon, 27 Jan 2020 10:14:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E529B83616 for ; Mon, 27 Jan 2020 10:14:47 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id x8so4909744pgk.8 for ; Mon, 27 Jan 2020 02:14:47 -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=FgG2toYigAj1ktFJcq6epdxSs10JCAGQPLYrkydZSrU=; b=gsW2EdDAJ5J5MGSTPOP4tPFF/qVlbhVDDDkPTXMLCiFsf8MrpV1mYL0ryJqHmvxVj0 G1oF8uX7wIdswrCIcn6NdtxXnrLDIaj9gry5actVTsbVGfX2HjWkHceqdwqvX4LI+9B2 6i/0mLhPVjwK6pgcTmgvEKO87HFDR5FV9vMIs96njKMezLdDD+aUbICzp/iW997r2nVc fYZJ7DWp+xeuowftP1LpnbVOFo1jZSg4oIgZh+Ectpp1DiwUgJjour10MX/U17J9pS1F PjRpJwaktVHKHwOdQSoZY3djUyj9a06l1iDwcefb7yVKZ3OfaG49NtYvcV/P5qXF411m yC7g== 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=FgG2toYigAj1ktFJcq6epdxSs10JCAGQPLYrkydZSrU=; b=QYvaG1eES/i7zWU8CcxzoN8XHviAe/mKPc5fJzL+OKJgYieY6OwFijUq46+NLobCmF jY92bIhZkhZPC4n5ZzlEuhzhP4S2yqp6uzgNJ496KFz0b6mrK6ZvIyxP3h2pYaZSCjf8 eMTueILMKrv+4Tb/aLO89vMNEq8oe/hfk29MhtGQ7hGxnMYIcEJfkR8ZfhVGnZv0rMs9 8xQEnZMlNPMnRk5+eP2EAOy9MrB0JJiMFbBZkv6ijAeZ89TKtyG7zm6z4Masq9XR087P dmzVE2/a3zZtS30VqjXiy+KpULgx7hkOAVA85x9OAlf6J4q0eS1OVxukFceWewwewrPs dHQw== X-Gm-Message-State: APjAAAV1emrI2OnSayVPxbMxY8pX41cfpPq+Ekbwn2jPeM/NSVurL5Ia zpvrpma1Zwg5HPm0RTgrBsk= X-Google-Smtp-Source: APXvYqxW9a4wLsiRch/9+vzAD1eI82074j8NuRdQUwRIHJxGUjE+78WhrJr463frQVmVFBttnhTzPA== X-Received: by 2002:a63:4a50:: with SMTP id j16mr19137473pgl.323.1580120087409; Mon, 27 Jan 2020 02:14:47 -0800 (PST) Received: from localhost.localdomain ([2405:205:c902:a5e9:3956:8df2:aee5:9cf6]) by smtp.gmail.com with ESMTPSA id s15sm15504138pgq.4.2020.01.27.02.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 02:14:46 -0800 (PST) From: Pragat Pandya To: valdis.kletnieks@vt.edu, gregkh@linuxfoundation.org Subject: [PATCH 05/22] staging: exfat: Rename variable "Minute" to "minute" Date: Mon, 27 Jan 2020 15:43:26 +0530 Message-Id: <20200127101343.20415-6-pragat.pandya@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200127101343.20415-1-pragat.pandya@gmail.com> References: <20200127101343.20415-1-pragat.pandya@gmail.com> X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, linux-fsdevel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" Change all the occurrences of "Minute" to "minute" in exfat. Signed-off-by: Pragat Pandya --- drivers/staging/exfat/exfat.h | 2 +- drivers/staging/exfat/exfat_super.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 03eaf25692aa..755e2fd6e3fd 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -226,7 +226,7 @@ struct date_time_t { u16 month; u16 day; u16 hour; - u16 Minute; + u16 minute; u16 Second; u16 MilliSecond; }; diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index ae9180be4cc0..70fa5f118a38 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -60,7 +60,7 @@ static void exfat_write_super(struct super_block *sb); static void exfat_time_fat2unix(struct timespec64 *ts, struct date_time_t *tp) { ts->tv_sec = mktime64(tp->year + 1980, tp->month + 1, tp->day, - tp->hour, tp->Minute, tp->Second); + tp->hour, tp->minute, tp->Second); ts->tv_nsec = tp->MilliSecond * NSEC_PER_MSEC; } @@ -76,7 +76,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) if (second < UNIX_SECS_1980) { tp->MilliSecond = 0; tp->Second = 0; - tp->Minute = 0; + tp->minute = 0; tp->hour = 0; tp->day = 1; tp->month = 1; @@ -87,7 +87,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) if (second >= UNIX_SECS_2108) { tp->MilliSecond = 999; tp->Second = 59; - tp->Minute = 59; + tp->minute = 59; tp->hour = 23; tp->day = 31; tp->month = 12; @@ -97,7 +97,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) tp->MilliSecond = ts->tv_nsec / NSEC_PER_MSEC; tp->Second = tm.tm_sec; - tp->Minute = tm.tm_min; + tp->minute = tm.tm_min; tp->hour = tm.tm_hour; tp->day = tm.tm_mday; tp->month = tm.tm_mon + 1; @@ -1509,7 +1509,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) info->CreateTimestamp.month = tm.mon; info->CreateTimestamp.day = tm.day; info->CreateTimestamp.hour = tm.hour; - info->CreateTimestamp.Minute = tm.min; + info->CreateTimestamp.minute = tm.min; info->CreateTimestamp.Second = tm.sec; info->CreateTimestamp.MilliSecond = 0; @@ -1518,7 +1518,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) info->ModifyTimestamp.month = tm.mon; info->ModifyTimestamp.day = tm.day; info->ModifyTimestamp.hour = tm.hour; - info->ModifyTimestamp.Minute = tm.min; + info->ModifyTimestamp.minute = tm.min; info->ModifyTimestamp.Second = tm.sec; info->ModifyTimestamp.MilliSecond = 0; @@ -1606,7 +1606,7 @@ static int ffsWriteStat(struct inode *inode, struct dir_entry_t *info) /* set FILE_INFO structure using the acquired struct dentry_t */ tm.sec = info->CreateTimestamp.Second; - tm.min = info->CreateTimestamp.Minute; + tm.min = info->CreateTimestamp.minute; tm.hour = info->CreateTimestamp.hour; tm.day = info->CreateTimestamp.day; tm.mon = info->CreateTimestamp.month; @@ -1614,7 +1614,7 @@ static int ffsWriteStat(struct inode *inode, struct dir_entry_t *info) p_fs->fs_func->set_entry_time(ep, &tm, TM_CREATE); tm.sec = info->ModifyTimestamp.Second; - tm.min = info->ModifyTimestamp.Minute; + tm.min = info->ModifyTimestamp.minute; tm.hour = info->ModifyTimestamp.hour; tm.day = info->ModifyTimestamp.day; tm.mon = info->ModifyTimestamp.month; @@ -1929,7 +1929,7 @@ static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) dir_entry->CreateTimestamp.month = tm.mon; dir_entry->CreateTimestamp.day = tm.day; dir_entry->CreateTimestamp.hour = tm.hour; - dir_entry->CreateTimestamp.Minute = tm.min; + dir_entry->CreateTimestamp.minute = tm.min; dir_entry->CreateTimestamp.Second = tm.sec; dir_entry->CreateTimestamp.MilliSecond = 0; @@ -1938,7 +1938,7 @@ static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) dir_entry->ModifyTimestamp.month = tm.mon; dir_entry->ModifyTimestamp.day = tm.day; dir_entry->ModifyTimestamp.hour = tm.hour; - dir_entry->ModifyTimestamp.Minute = tm.min; + dir_entry->ModifyTimestamp.minute = tm.min; dir_entry->ModifyTimestamp.Second = tm.sec; dir_entry->ModifyTimestamp.MilliSecond = 0; -- 2.17.1 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel 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=-6.5 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,UNWANTED_LANGUAGE_BODY,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 A7B2CC33CB1 for ; Mon, 27 Jan 2020 10:14:51 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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 7D9E920CC7 for ; Mon, 27 Jan 2020 10:14:51 +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="gsW2EdDA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7D9E920CC7 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 whitealder.osuosl.org (Postfix) with ESMTP id 5DDDC854A0; Mon, 27 Jan 2020 10:14:51 +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 WYnpuawSfJr3; Mon, 27 Jan 2020 10:14:50 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id B753E85693; Mon, 27 Jan 2020 10:14:50 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B1F29C0177; Mon, 27 Jan 2020 10:14:50 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 3CB54C0171 for ; Mon, 27 Jan 2020 10:14:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 2B23720476 for ; Mon, 27 Jan 2020 10:14:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZlBegtsOxaSV for ; Mon, 27 Jan 2020 10:14:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by silver.osuosl.org (Postfix) with ESMTPS id CCA5820026 for ; Mon, 27 Jan 2020 10:14:47 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id q10so4695116pfs.6 for ; Mon, 27 Jan 2020 02:14:47 -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=FgG2toYigAj1ktFJcq6epdxSs10JCAGQPLYrkydZSrU=; b=gsW2EdDAJ5J5MGSTPOP4tPFF/qVlbhVDDDkPTXMLCiFsf8MrpV1mYL0ryJqHmvxVj0 G1oF8uX7wIdswrCIcn6NdtxXnrLDIaj9gry5actVTsbVGfX2HjWkHceqdwqvX4LI+9B2 6i/0mLhPVjwK6pgcTmgvEKO87HFDR5FV9vMIs96njKMezLdDD+aUbICzp/iW997r2nVc fYZJ7DWp+xeuowftP1LpnbVOFo1jZSg4oIgZh+Ectpp1DiwUgJjour10MX/U17J9pS1F PjRpJwaktVHKHwOdQSoZY3djUyj9a06l1iDwcefb7yVKZ3OfaG49NtYvcV/P5qXF411m yC7g== 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=FgG2toYigAj1ktFJcq6epdxSs10JCAGQPLYrkydZSrU=; b=MAnahB6nOumC+p/9k+WPilj3vG1//ggSqsFEeXWrzhach/rSbR5JGOd93jeSBG+Ejd pyLwpOC1XII/MGxAGiggwcTuLEptWv7nmEhwkpYa4kIpHmSERUgFi9hQbFq7cg7/PjT4 mi2Zwc37QZQho7UOgmEyDFBD8id+NCzHzJo3Wz3iWh+5bMl+qvMb7j2KtVO2OsdP2xhW 3z7OzU10rplLUZu/rTjqnv0M2GgMJYXGKwT6EIhx0AbyWYoNNiEv0vU5zSVBAhSjfic8 Mg4iRnFixh4ucjKjvOiDJfqxtW9Ln2lET5+BFIY2QhSbYH5MYj4TfbZ7T77jDgfNbxsw xyMg== X-Gm-Message-State: APjAAAUr0mMA28nB69cGrNaEm5dqVDSvwRuwmg4GIKHI7sj22D+W4YmH kAef8qRYknn/276F3s8yhFiLOsW1SxsRXg== X-Google-Smtp-Source: APXvYqxW9a4wLsiRch/9+vzAD1eI82074j8NuRdQUwRIHJxGUjE+78WhrJr463frQVmVFBttnhTzPA== X-Received: by 2002:a63:4a50:: with SMTP id j16mr19137473pgl.323.1580120087409; Mon, 27 Jan 2020 02:14:47 -0800 (PST) Received: from localhost.localdomain ([2405:205:c902:a5e9:3956:8df2:aee5:9cf6]) by smtp.gmail.com with ESMTPSA id s15sm15504138pgq.4.2020.01.27.02.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2020 02:14:46 -0800 (PST) From: Pragat Pandya To: valdis.kletnieks@vt.edu, gregkh@linuxfoundation.org Date: Mon, 27 Jan 2020 15:43:26 +0530 Message-Id: <20200127101343.20415-6-pragat.pandya@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200127101343.20415-1-pragat.pandya@gmail.com> References: <20200127101343.20415-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 05/22] staging: exfat: Rename variable "Minute" to "minute" 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" Change all the occurrences of "Minute" to "minute" in exfat. Signed-off-by: Pragat Pandya --- drivers/staging/exfat/exfat.h | 2 +- drivers/staging/exfat/exfat_super.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index 03eaf25692aa..755e2fd6e3fd 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -226,7 +226,7 @@ struct date_time_t { u16 month; u16 day; u16 hour; - u16 Minute; + u16 minute; u16 Second; u16 MilliSecond; }; diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index ae9180be4cc0..70fa5f118a38 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -60,7 +60,7 @@ static void exfat_write_super(struct super_block *sb); static void exfat_time_fat2unix(struct timespec64 *ts, struct date_time_t *tp) { ts->tv_sec = mktime64(tp->year + 1980, tp->month + 1, tp->day, - tp->hour, tp->Minute, tp->Second); + tp->hour, tp->minute, tp->Second); ts->tv_nsec = tp->MilliSecond * NSEC_PER_MSEC; } @@ -76,7 +76,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) if (second < UNIX_SECS_1980) { tp->MilliSecond = 0; tp->Second = 0; - tp->Minute = 0; + tp->minute = 0; tp->hour = 0; tp->day = 1; tp->month = 1; @@ -87,7 +87,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) if (second >= UNIX_SECS_2108) { tp->MilliSecond = 999; tp->Second = 59; - tp->Minute = 59; + tp->minute = 59; tp->hour = 23; tp->day = 31; tp->month = 12; @@ -97,7 +97,7 @@ static void exfat_time_unix2fat(struct timespec64 *ts, struct date_time_t *tp) tp->MilliSecond = ts->tv_nsec / NSEC_PER_MSEC; tp->Second = tm.tm_sec; - tp->Minute = tm.tm_min; + tp->minute = tm.tm_min; tp->hour = tm.tm_hour; tp->day = tm.tm_mday; tp->month = tm.tm_mon + 1; @@ -1509,7 +1509,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) info->CreateTimestamp.month = tm.mon; info->CreateTimestamp.day = tm.day; info->CreateTimestamp.hour = tm.hour; - info->CreateTimestamp.Minute = tm.min; + info->CreateTimestamp.minute = tm.min; info->CreateTimestamp.Second = tm.sec; info->CreateTimestamp.MilliSecond = 0; @@ -1518,7 +1518,7 @@ static int ffsReadStat(struct inode *inode, struct dir_entry_t *info) info->ModifyTimestamp.month = tm.mon; info->ModifyTimestamp.day = tm.day; info->ModifyTimestamp.hour = tm.hour; - info->ModifyTimestamp.Minute = tm.min; + info->ModifyTimestamp.minute = tm.min; info->ModifyTimestamp.Second = tm.sec; info->ModifyTimestamp.MilliSecond = 0; @@ -1606,7 +1606,7 @@ static int ffsWriteStat(struct inode *inode, struct dir_entry_t *info) /* set FILE_INFO structure using the acquired struct dentry_t */ tm.sec = info->CreateTimestamp.Second; - tm.min = info->CreateTimestamp.Minute; + tm.min = info->CreateTimestamp.minute; tm.hour = info->CreateTimestamp.hour; tm.day = info->CreateTimestamp.day; tm.mon = info->CreateTimestamp.month; @@ -1614,7 +1614,7 @@ static int ffsWriteStat(struct inode *inode, struct dir_entry_t *info) p_fs->fs_func->set_entry_time(ep, &tm, TM_CREATE); tm.sec = info->ModifyTimestamp.Second; - tm.min = info->ModifyTimestamp.Minute; + tm.min = info->ModifyTimestamp.minute; tm.hour = info->ModifyTimestamp.hour; tm.day = info->ModifyTimestamp.day; tm.mon = info->ModifyTimestamp.month; @@ -1929,7 +1929,7 @@ static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) dir_entry->CreateTimestamp.month = tm.mon; dir_entry->CreateTimestamp.day = tm.day; dir_entry->CreateTimestamp.hour = tm.hour; - dir_entry->CreateTimestamp.Minute = tm.min; + dir_entry->CreateTimestamp.minute = tm.min; dir_entry->CreateTimestamp.Second = tm.sec; dir_entry->CreateTimestamp.MilliSecond = 0; @@ -1938,7 +1938,7 @@ static int ffsReadDir(struct inode *inode, struct dir_entry_t *dir_entry) dir_entry->ModifyTimestamp.month = tm.mon; dir_entry->ModifyTimestamp.day = tm.day; dir_entry->ModifyTimestamp.hour = tm.hour; - dir_entry->ModifyTimestamp.Minute = tm.min; + dir_entry->ModifyTimestamp.minute = tm.min; dir_entry->ModifyTimestamp.Second = tm.sec; dir_entry->ModifyTimestamp.MilliSecond = 0; -- 2.17.1 _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees