Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4464237ybe; Mon, 9 Sep 2019 09:36:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2/kVNFYKrJ9R0/ytHkTAG3P52FWDC85PfDu6rFiiLblvlTDrJwT9dj+o9moGnavi5zUQv X-Received: by 2002:a17:906:4ac1:: with SMTP id u1mr20073746ejt.293.1568046987056; Mon, 09 Sep 2019 09:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568046987; cv=none; d=google.com; s=arc-20160816; b=FwmubSiaZuiMcIursfarA72zEevzOfu15YI/FNh+I7cpf2i0q9kWEDxihbSYz4fpfm V+dq3zyi3vut1nSTC12bl3wiOYMrWdomUauiqVbqTDQHm2o94EwHZEA12zNEoIYU7ADN +J4KTCp1ge923DuaZD3YJ2pnVov/8jsimoJiJv6R949T83yLyXWUHAxOXqKzu+JjOeYc 2u99Cu+vRUsdeJXT/x+gpO6FPxqYJILvfWDHxSh4gHaRsLq7jKiU+0wG5MxAq3DYvXgh mkyP2LEOilwAbGICIJ+RFIy72WpEtg7jfeZp+VV9o56GM5FvNesZvlcDtCwMJH5TST1H dUsQ== 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=RovptIr4ZwIN5QLJAFdY7ueHZ34BJWcp5KieeHomsZA=; b=CBOD6dbTxhXuGY3mOhXsDrJftIJcO9aUwB4gtcxU7zKcnfQ2o2FdQEmRP6r4uHo1nf XsXduZsJv5zDsAU0H2SfjrhR/NRXxB3F25ywjvmUQr7dJRQaHuQUK2ZJY7u0EYp5f453 tYxy502ZpwoXmenIsI0xhE+D8aPcxpkxKZcS5f51uWJTZub/7bkEcaql7zmJ+wyu7KlV VOiTF4a/YvAcEp71OFqhPLvH4Yi6ZPDrZtlEup+lAbtaTkCCNNbrTsehb8G46XEy0Sua ryVZAaOpbbskAqe5fm757Y+hd+C6LdMm7ecBYPafxaIQyovGrXucjhJp2oWl6d4aoHqW KhpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@valentin-vidic.from.hr header.s=2017 header.b=o3OMR4q6; 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 d48si9993295eda.383.2019.09.09.09.36.03; Mon, 09 Sep 2019 09:36:27 -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=o3OMR4q6; 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 S1730005AbfIHQvf (ORCPT + 99 others); Sun, 8 Sep 2019 12:51:35 -0400 Received: from valentin-vidic.from.hr ([94.229.67.141]:35115 "EHLO valentin-vidic.from.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729734AbfIHQve (ORCPT ); Sun, 8 Sep 2019 12:51:34 -0400 X-Virus-Scanned: Debian amavisd-new at valentin-vidic.from.hr Received: by valentin-vidic.from.hr (Postfix, from userid 1000) id 94489214; Sun, 8 Sep 2019 16:51:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=valentin-vidic.from.hr; s=2017; t=1567961491; bh=mF+4NLAhuyJUGqzq9vSqZm83S4VIa0cpRhn2ECd2y4A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o3OMR4q61kLV0E7oGS9ZGieXIIxu3qYyIlhFWo3OXmO73+qb8cGqTR96bm8K/WYTM aV7BbUA/n4mid/lYQJi+YJgrO8o4tTf/b2Te5FUiS6UVhNfoapq8c9cInhhIoBlPVB QdevGiXPsFeODOkwTHoH8Hn3kw3jI5agSyoDzCt7RxbmCFHTQlVgPMwQfsC7VT1DNV zp9QxVGaUsUsL1m3EnT1Oz+yeD1NOFnzIADxeF5E5UnY8j/VuCQBxz7qGe3A5AvGey uO79kDLHzWuyXCacbj3Z8sETEafbUYnKXY3G+xT8uVa35wSUeFv0t5+Hh1XEsN+H26 Q1MeawsruR0dA== Date: Sun, 8 Sep 2019 16:51:31 +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 v2 3/3] staging: exfat: add millisecond support Message-ID: <20190908165131.GC7664@valentin-vidic.from.hr> References: <20190908161015.26000-1-vvidic@valentin-vidic.from.hr> <20190908161015.26000-3-vvidic@valentin-vidic.from.hr> <20190908164040.GA8362@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190908164040.GA8362@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 05:40:40PM +0100, Greg Kroah-Hartman wrote: > On Sun, Sep 08, 2019 at 04:10:15PM +0000, Valentin Vidic wrote: > > void fat_set_entry_time(struct dentry_t *p_entry, struct timestamp_t *tp, > > u8 mode) > > { > > + u8 ms; > > u16 t, d; > > struct dos_dentry_t *ep = (struct dos_dentry_t *)p_entry; > > > > t = (tp->hour << 11) | (tp->min << 5) | (tp->sec >> 1); > > d = (tp->year << 9) | (tp->mon << 5) | tp->day; > > > > + ms = tp->millisec; > > + if (tp->sec & 1) { > > + ms += 1000; > > + } > > checkpatch didn't complain about this { } not being needed? > > Same in other parts of this patch, please fix up. No warnings from checkpatch here, will update the code. -- Valentin