From: David Sterba Subject: Re: linux-next: Tree for Feb 5 (btrfs/zstd) Date: Tue, 5 Feb 2019 19:25:44 +0100 Message-ID: <20190205182543.GX2900@twin.jikos.cz> References: <20190205171228.41a9f771@canb.auug.org.au> <26ce21e5-0e3c-d847-c895-6cb166507441@infradead.org> Reply-To: dsterba@suse.cz Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline In-Reply-To: <26ce21e5-0e3c-d847-c895-6cb166507441@infradead.org> Sender: linux-kernel-owner@vger.kernel.org To: Randy Dunlap Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , Linux Btrfs List-Id: linux-next.vger.kernel.org On Tue, Feb 05, 2019 at 09:40:40AM -0800, Randy Dunlap wrote: > On 2/4/19 10:12 PM, Stephen Rothwell wrote: > > Hi all, > > > > Changes since 20190204: > > > > on i386: > > ../fs/btrfs/zstd.c: In function ‘zstd_reclaim_timer_fn’: > ../fs/btrfs/zstd.c:27:35: warning: integer overflow in expression [-Woverflow] > #define ZSTD_BTRFS_RECLAIM_NS (45 * NSEC_PER_SEC) > ^ > ../fs/btrfs/zstd.c:96:33: note: in expansion of macro ‘ZSTD_BTRFS_RECLAIM_NS’ > if (now < victim->last_used + ZSTD_BTRFS_RECLAIM_NS) Thanks for the report. There's a v2 of the patchset that uses the timer_after helper and this warning should be gone. The updated version will appear in for-next soonish.