Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4304669pxu; Tue, 20 Oct 2020 13:29:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGLYCfMNkU9e34AOHFJRL0B9lQFIMkn/pcJxW76yS1HWtJls1DU2P3VPS0SydrjUDwEP2J X-Received: by 2002:a17:906:b216:: with SMTP id p22mr5079438ejz.228.1603225775647; Tue, 20 Oct 2020 13:29:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603225775; cv=none; d=google.com; s=arc-20160816; b=MlwWFewruEEJvpLYPRZu4yo1LQv98hAZPKxf6xc/tcBuEUiLTvTGoJrGwqWuT2DMjv 1g5ClSAzfuZQsc1bu2zS/fFmHv6hManmU/CT3C1yoRHxLALrD/CakUrh7kKZ86a2c24b ZBn00B4qScc6jWEz1ozucHPDOotZGVEGzYDw/ehrs1IwHUJGd7AXJVfgo89/vtrd4Xy6 vBqqXJn7bb190Rp/NzztVY3H8A/ZCyPrkS29Jve+ypS6w7FXPoDajBy7nwbSk0QcGc5n jujp1c/ISveRojWQzj+JYU56oiki2pdbJHs52AIIekG847IZzi+/c/ox4qeJjuPCrIJG xteQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=6FHPhHCFtv7sVWSOJhufYHwcf/YUK8Z761WeiSEFf80=; b=AgIBrQQYb9v7GHe9jk6vxmgV6LJS7sCjmeD2/1qT97jPJhM8K29G5G+yfUT2lWrbH7 Ao9BTKZTKMRwiALFjMhC10umaiEyJOUcazAibuaWUBV2PO8r6eog3T3m9dttWDuGkIJB M6FOBmMUc6r192s1dfWXr31HSAfgupZQ+Km2FM4vZHmlY1imml46C1X0usHT31TeQylV guqdd4HbH9ert8gmQbTBlR7mWlOYL3TidvHVE+Xg1Orplr8dTsLG9Chumz/Z/BSeskyP t6s/RExvbjU4UhrLSHk+wh5TQhbWsnEcty5occkkyszvqlADhYBtOpUFBl7+/0+Ld37u gpTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si1888749edy.1.2020.10.20.13.29.12; Tue, 20 Oct 2020 13:29:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404562AbgJTGvj (ORCPT + 99 others); Tue, 20 Oct 2020 02:51:39 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:40838 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730732AbgJTGvj (ORCPT ); Tue, 20 Oct 2020 02:51:39 -0400 Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id 93D7F1B3B63; Tue, 20 Oct 2020 15:51:37 +0900 (JST) Received: from devron.myhome.or.jp (foobar@devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (8.15.2/8.15.2/Debian-20) with ESMTPS id 09K6paro1584010 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 20 Oct 2020 15:51:37 +0900 Received: from devron.myhome.or.jp (foobar@localhost [127.0.0.1]) by devron.myhome.or.jp (8.15.2/8.15.2/Debian-20) with ESMTPS id 09K6pavD1770796 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 20 Oct 2020 15:51:36 +0900 Received: (from hirofumi@localhost) by devron.myhome.or.jp (8.15.2/8.15.2/Submit) id 09K6pZ7p1770795; Tue, 20 Oct 2020 15:51:35 +0900 From: OGAWA Hirofumi To: David Gow Cc: Brendan Higgins , shuah@kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] fat: Add KUnit tests for checksums and timestamps References: <20201020055856.1270482-1-davidgow@google.com> Date: Tue, 20 Oct 2020 15:51:35 +0900 In-Reply-To: <20201020055856.1270482-1-davidgow@google.com> (David Gow's message of "Mon, 19 Oct 2020 22:58:56 -0700") Message-ID: <87d01die4o.fsf@mail.parknet.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Gow 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