Re: [PATCH] fs/ext4/extents_status.c: fix 64-bit number truncation bug

2014-04-06 Thread Chen Gang
On 04/07/2014 12:14 PM, Theodore Ts'o wrote: > On Sun, Apr 06, 2014 at 03:39:09PM +0200, Geert Uytterhoeven wrote: >> On Mon, Mar 31, 2014 at 3:16 PM, Chen Gang wrote: >>> '0x7FDEADBEEF' will be truncated to 32-bit number under unicore32. Need >>> append 'ULL' for it. >>> >>> The related warning

Re: [PATCH] fs/ext4/extents_status.c: fix 64-bit number truncation bug

2014-04-06 Thread Theodore Ts'o
On Sun, Apr 06, 2014 at 03:39:09PM +0200, Geert Uytterhoeven wrote: > On Mon, Mar 31, 2014 at 3:16 PM, Chen Gang wrote: > > '0x7FDEADBEEF' will be truncated to 32-bit number under unicore32. Need > > append 'ULL' for it. > > > > The related warning (with allmodconfig under unicore32): > > > >

Re: [PATCH] fs/ext4/extents_status.c: fix 64-bit number truncation bug

2014-04-06 Thread Chen Gang
On 04/06/2014 09:39 PM, Geert Uytterhoeven wrote: > On Mon, Mar 31, 2014 at 3:16 PM, Chen Gang wrote: >> '0x7FDEADBEEF' will be truncated to 32-bit number under unicore32. Need >> append 'ULL' for it. >> >> The related warning (with allmodconfig under unicore32): >> >> CC [M] fs/ext4/extents

Re: [PATCH] fs/ext4/extents_status.c: fix 64-bit number truncation bug

2014-04-06 Thread Geert Uytterhoeven
On Mon, Mar 31, 2014 at 3:16 PM, Chen Gang wrote: > '0x7FDEADBEEF' will be truncated to 32-bit number under unicore32. Need > append 'ULL' for it. > > The related warning (with allmodconfig under unicore32): > > CC [M] fs/ext4/extents_status.o > fs/ext4/extents_status.c: In function ‘__es_r

Re: [PATCH] fs/ext4/extents_status.c: fix 64-bit number truncation bug

2014-04-04 Thread Chen Gang
Hello Maintains: Please help check this patch, when you have time, thanks. On 03/31/2014 09:16 PM, Chen Gang wrote: > '0x7FDEADBEEF' will be truncated to 32-bit number under unicore32. Need > append 'ULL' for it. > > The related warning (with allmodconfig under unicore32): > > CC [M] fs/e

[PATCH] fs/ext4/extents_status.c: fix 64-bit number truncation bug

2014-03-31 Thread Chen Gang
'0x7FDEADBEEF' will be truncated to 32-bit number under unicore32. Need append 'ULL' for it. The related warning (with allmodconfig under unicore32): CC [M] fs/ext4/extents_status.o fs/ext4/extents_status.c: In function ‘__es_remove_extent’: fs/ext4/extents_status.c:813: warning: integer