RE: [2/2] powerpc/corenet64_smp_defconfig: enable RTC support

2014-05-25 Thread shengzhou....@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, May 24, 2014 1:06 AM > To: Liu Shengzhou-B36685 > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [2/2] powerpc/corenet64_smp_defconfig: enable RTC support > > On Fri, 2014-05-23 at 03:03 -0500, Liu Shengzhou-B36685 wrote:

Re: [PATCH] hfsplus: fix compiler warning on PowerPC

2014-05-25 Thread Sergei Antonov
The patch did not pass scripts/checkpatch.pl The fixed version is below. --- Subject: [PATCH] hfsplus: fix compiler warning on PowerPC Commit a99b7069aab8fc3fb4f26d15795dc280b52e38b1 ("hfsplus: Fix undefined __divdi3 in hfsplus_init_header_node()") introduced do_div() to xattr.c and the warning

Re: fs/hfsplus/xattr.c: comparison of distinct pointer types lacks a cast

2014-05-25 Thread Sergei Antonov
On 25 May 2014 21:07, Christian Kujau wrote: > On Sun, 25 May 2014 at 10:48, Geert Uytterhoeven wrote: >> "tmp" is "loff_t" which is "__kernel_loff_t", which is "long long", i.e. >> signed, >> while include/asm-generic/div64.h compares its type with "uint64_t". > > Thanks for the explanation! > >

[PATCH] hfsplus: fix compiler warning on PowerPC

2014-05-25 Thread Christian Kujau
Hi Andrew, Sergei suggested to send this your way, so that it can be included into linux-next: Commit a99b7069aab8fc3fb4f26d15795dc280b52e38b1 ("hfsplus: Fix undefined __divdi3 in hfsplus_init_header_node()") introduced do_div() to xattr.c and the warning below too. As Geert remarked: "tmp" i

Re: fs/hfsplus/xattr.c: comparison of distinct pointer types lacks a cast

2014-05-25 Thread Christian Kujau
On Sun, 25 May 2014 at 10:48, Geert Uytterhoeven wrote: > "tmp" is "loff_t" which is "__kernel_loff_t", which is "long long", i.e. > signed, > while include/asm-generic/div64.h compares its type with "uint64_t". Thanks for the explanation! > As inode sizes are positive, it should be safe to chan

Re: fs/hfsplus/xattr.c: comparison of distinct pointer types lacks a cast

2014-05-25 Thread Geert Uytterhoeven
Hi Christian, On Sun, May 25, 2014 at 3:42 AM, Christian Kujau wrote: > /usr/local/src/linux-git/include/asm-generic/div64.h:43:28: warning: > comparison of distinct pointer types lacks a cast [enabled by default] > (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \ >