Subject: Re: linux-next: build warnings after merge of the block tree

From: Mathieu Desnoyers <[email-masked]>
Date: Thu, 6 Jan 2011 20:49:45 -0500

* Stephen Rothwell ([email-masked]) wrote:
> Hi Jens,
> 
> After merging the block tree, today's linux-next build (powerpc
> ppc64_defconfig) produced these warnings:

Sorry about this, I will issue a patch that updates the blktrace code
according to the new callback prototype expected right away.

Thanks,

Mathieu

> 
> kernel/trace/blktrace.c: In function 'blk_register_tracepoints':
> kernel/trace/blktrace.c:999: warning: passing argument 1 of 'register_trace_block_bio_complete' from incompatible pointer type
> include/trace/events/block.h:240: note: expected 'void (*)(void *, struct request_queue *, struct bio *, int)' but argument is of type 'void (*)(void *, struct request_queue *, struct bio *)'
> kernel/trace/blktrace.c: In function 'blk_unregister_tracepoints':
> kernel/trace/blktrace.c:1038: warning: passing argument 1 of 'unregister_trace_block_bio_complete' from incompatible pointer type
> include/trace/events/block.h:240: note: expected 'void (*)(void *, struct request_queue *, struct bio *, int)' but argument is of type 'void (*)(void *, struct request_queue *, struct bio *)'
> 
> Probably caused by commit de983a7bfcb7c020901ca6e2314cf55a4207ab5a
> ("block: trace event block fix unassigned field").
> -- 
> Cheers,
> Stephen Rothwell                    [email-masked]
> http://www.canb.auug.org.au/~sfr/

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com