Re: [PATCH] Btrfs: avoid build warning on 32-bit

2015-01-13 Thread Chris Mason
On Tue, Jan 13, 2015 at 7:16 PM, David Sterba wrote: On Tue, Jan 13, 2015 at 03:09:03PM +0100, Arnd Bergmann wrote: A recent change introduced a type cast from a private 64-bit value to a pointer, which works fine on 64-bit architectures, but not on 32-bit ones, where it produces a harmless

Re: [PATCH] Btrfs: avoid build warning on 32-bit

2015-01-13 Thread David Sterba
On Tue, Jan 13, 2015 at 03:09:03PM +0100, Arnd Bergmann wrote: > A recent change introduced a type cast from a private 64-bit > value to a pointer, which works fine on 64-bit architectures, > but not on 32-bit ones, where it produces a harmless compiler > warning: > > fs/btrfs/extent_io.c: In func

[PATCH] Btrfs: avoid build warning on 32-bit

2015-01-13 Thread Arnd Bergmann
A recent change introduced a type cast from a private 64-bit value to a pointer, which works fine on 64-bit architectures, but not on 32-bit ones, where it produces a harmless compiler warning: fs/btrfs/extent_io.c: In function 'btrfs_free_io_failure_record': fs/btrfs/extent_io.c:2193:13: warning: