Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4581608ybe; Mon, 9 Sep 2019 11:15:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuPHt4Ciao6eyUI3Xo0bNtRjNXplOv+bPm/w0fosKlLXLM0W1Pe7kutXIa1a0ohl4GIhjP X-Received: by 2002:aa7:dacc:: with SMTP id x12mr19407300eds.116.1568052947875; Mon, 09 Sep 2019 11:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568052947; cv=none; d=google.com; s=arc-20160816; b=zL84Vx8Dr/5EIT2aS7uaJM7NjeKirF+uPbdNiZ8wQeEGY0NBH2xFU97lrFmK24Qf06 D5wdeFzGKmH+CZE1zsoIjpyOyytgTMrhRxfBuOlswdSEVbG+BHrN+xhEb/2M0LQMA0Vk I4wsJnSEriXegKmMxOh6w40k+ouSPbYuzOw6zvtLO5BRIjBhuqQFhVsBJenRPI0m2dBa 2iYMPTuCbq4fJVtFjtLcKOyqNltgfasA1lvIf+Z8i5YkYHk1RLl/qf3jQ32GudG2jL2h 46IPjd862BNpZ++r8wDsnQXW9bYhUDBmf4a+DMTzJLPubXq/oT9+uu3kVRl5jUYMaLOU ZajQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xEku/sR5UVFR5UUKayfoKEYinNcqjrUPbGYdd2UphbI=; b=hB2+MCMtmP/n/J8tFI74dMuwJ4Xvr8xYaOZvcEl3KQEGOvwnQPOG70glfspceYJHXd mtCJ5SWGEYlJVUarsd1dFQiQtS7lS9r/QrG7ezQgKywnoSXONGinGhsONGhAvNiHxFgS pitTNSLLLFo71DJeEMw6AyXCn796+u+RqQSYvc68FnuZJnrCFoj8NlcDT2uP0EwCUwp2 Y0M+3A9dd5zPSGzKA3pvxdWyGQxGI5SwTtLcgLf+S4MI5/WoYQayQ9Jgh+gpLNmDbSha ty12Ld9bwdnVRWdpAoVnbW0E5YoMI5Sp0spr6xcJr43adtZ5V89dU/Kf3bZ4Kff+KitY hkMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@valentin-vidic.from.hr header.s=2017 header.b=Q8SQWK8h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x29si9407406eda.297.2019.09.09.11.15.24; Mon, 09 Sep 2019 11:15:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@valentin-vidic.from.hr header.s=2017 header.b=Q8SQWK8h; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727588AbfIHTbz (ORCPT + 99 others); Sun, 8 Sep 2019 15:31:55 -0400 Received: from valentin-vidic.from.hr ([94.229.67.141]:55207 "EHLO valentin-vidic.from.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727205AbfIHTbz (ORCPT ); Sun, 8 Sep 2019 15:31:55 -0400 X-Virus-Scanned: Debian amavisd-new at valentin-vidic.from.hr Received: by valentin-vidic.from.hr (Postfix, from userid 1000) id A3653214; Sun, 8 Sep 2019 19:31:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=valentin-vidic.from.hr; s=2017; t=1567971109; bh=CxPKTjvXFh/sMGEUjANehOfpQ0XuIiMOouyRvsLS4YI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q8SQWK8hQ696VqsOJ5xZ4Yu1jAfLv/DY1zQ13ItbpLR0FTyJPYpjQSa7Hqek7fr4i Az5hz+ie82ZvCpZ0bLuOxwOuc+JJbQIFl+xjI0emRUW7ycGwcXgmr+hy6frtBuhS12 5uZUa4ZN38YHoMWbBISpU6vLj7z0d9/k+lmX1+hTiEa1cA1736x6O0IWZZbYbmH0CN Qgvc3yXXDSlWy3Fp1W/BF+255yqUNB7ymY4Ow0A0LkymuhWGTLRBoJXgnz8qDJRIYu x5ErRns5+KaX9mlbCQT3Je0VbccbrkUTfgwpxSFVeX636bkTiXDRy7hnOC1QElBxdq OuGP6YQYKyvHA== Date: Sun, 8 Sep 2019 19:31:49 +0000 From: Valentin =?utf-8?B?VmlkacSH?= To: Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, Valdis Kletnieks , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 2/4] staging: exfat: drop duplicate date_time_t struct Message-ID: <20190908193149.GD7664@valentin-vidic.from.hr> References: <20190908173539.26963-1-vvidic@valentin-vidic.from.hr> <20190908173539.26963-2-vvidic@valentin-vidic.from.hr> <20190908185424.GB10011@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190908185424.GB10011@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 08, 2019 at 07:54:24PM +0100, Greg Kroah-Hartman wrote: > On Sun, Sep 08, 2019 at 05:35:37PM +0000, Valentin Vidic wrote: > > +struct timestamp_t { > > + u16 millisec; /* 0 ~ 999 */ > > You added this field to this structure, why? You did not document that > in the changelog text above. Are you _sure_ you can do this and that > this does not refer to an on-disk layout? Both date_time_t and timestamp_t were used in memory only, but date_time_t had the additional MilliSecond field. To keep the functionality I added the millisec field to timestamp_t and replaced all usages of date_time_t with timestamp_t. For storing on disk the values from timestamp_t get shifted and combined (exfat_set_entry_time). -- Valentin