[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87d01die4o.fsf@mail.parknet.co.jp>
Date: Tue, 20 Oct 2020 15:51:35 +0900
From: OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To: David Gow <davidgow@...gle.com>
Cc: Brendan Higgins <brendanhiggins@...gle.com>, shuah@...nel.org,
linux-kselftest@...r.kernel.org, kunit-dev@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] fat: Add KUnit tests for checksums and timestamps
David Gow <davidgow@...gle.com> writes:
> diff --git a/fs/fat/misc.c b/fs/fat/misc.c
> index f1b2a1fc2a6a..445ad3542e74 100644
> --- a/fs/fat/misc.c
> +++ b/fs/fat/misc.c
> @@ -229,6 +229,7 @@ void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts,
> ts->tv_nsec = 0;
> }
> }
> +EXPORT_SYMBOL_GPL(fat_time_fat2unix);
Hm, can this export only if FAT_KUNIT_TEST is builtin or module (maybe
#if IS_ENABLED(...))? And #if will also be worked as the comment too.
>
> /* Convert linear UNIX date to a FAT time/date pair. */
> void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts,
--
OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
Powered by blists - more mailing lists