linux-next: build warnings after merge of the final tree (ext3 tree related)

2 messages, 2 authors, 2011-01-10 · open the first message on its own page

linux-next: build warnings after merge of the final tree (ext3 tree related)

From: Stephen Rothwell <hidden>
Date: 2011-01-07 03:04:25

Hi Jan,

After merging the final tree, today's linux-next build (powerpc
ppc44x_defconfig) produced these warnings:

fs/ext3/balloc.c: In function 'ext3_get_group_no_and_offset':
fs/ext3/balloc.c:53: warning: comparison of distinct pointer types lacks a cast
fs/ext3/balloc.c:53: warning: right shift count >= width of type
fs/ext3/balloc.c:53: warning: passing argument 1 of '__div64_32' from incompatible pointer type
include/asm-generic/div64.h:35: note: expected 'uint64_t *' but argument is of type 'ext3_fsblk_t *'

Caused by commit 3e5eb5c509e311fdea2468be913ec264edd4f617 ("ext3: Add
batched discard support for ext3").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

Re: linux-next: build warnings after merge of the final tree (ext3 tree related)

From: Jan Kara <jack@suse.cz>
Date: 2011-01-10 17:29:26

  Hi Stephen,

On Fri 07-01-11 14:04:14, Stephen Rothwell wrote:
After merging the final tree, today's linux-next build (powerpc
ppc44x_defconfig) produced these warnings:

fs/ext3/balloc.c: In function 'ext3_get_group_no_and_offset':
fs/ext3/balloc.c:53: warning: comparison of distinct pointer types lacks a cast
fs/ext3/balloc.c:53: warning: right shift count >= width of type
fs/ext3/balloc.c:53: warning: passing argument 1 of '__div64_32' from incompatible pointer type
include/asm-generic/div64.h:35: note: expected 'uint64_t *' but argument is of type 'ext3_fsblk_t *'

Caused by commit 3e5eb5c509e311fdea2468be913ec264edd4f617 ("ext3: Add
batched discard support for ext3").
  Thanks for spotting this. It should be fixed in my tree now.

									Honza
-- 
Jan Kara [off-list ref]
SUSE Labs, CR
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help