wfg at linux.intel.com
2012-Jun-13 23:03 UTC
drivers/block/cpqarray.c:938:2: error: too many arguments to function ‘blk_rq_map_sg’
FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git multiqueue head: e9a6aa8a0b7b93195774a9fcf551632bf3abcd97 commit: 67db7275fa4325d46853a4bfcb79acf32e48eca8 [1/3] multiqueue: a hodge podge of things config: i386-allmodconfig (attached as .config) All related error/warning messages are: block/blk-core.c: In function ?attempt_plug_merge?: block/blk-core.c:1253:9: error: ?struct request? has no member named ?q? drivers/block/cpqarray.c:938:2: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/block/cpqarray.c:938:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/block/cpqarray.c:938:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/block/cciss.c:3339:2: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/block/cciss.c:3339:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/block/cciss.c:3339:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/block/DAC960.c:3355:5: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/block/DAC960.c:3355:5: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/block/DAC960.c:3355:5: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/block/DAC960.c:3433:3: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/block/DAC960.c:3433:3: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/block/DAC960.c:3433:3: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/block/sx8.c:873:2: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/block/sx8.c:873:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/block/sx8.c:873:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/block/ub.c:638:2: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/block/ub.c:638:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/block/ub.c:638:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/ide/ide-io.c:229:2: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/ide/ide-io.c:229:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/ide/ide-io.c:229:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/ide/ide-probe.c:762:2: error: too few arguments to function ?blk_init_queue_node? include/linux/blkdev.h:794:30: note: declared here drivers/ide/ide-park.c:55:2: warning: passing argument 1 of ?elv_add_request? from incompatible pointer type [enabled by default] include/linux/elevator.h:115:13: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/ide/ide-park.c:55:2: warning: passing argument 2 of ?elv_add_request? makes integer from pointer without a cast [enabled by default] include/linux/elevator.h:115:13: note: expected ?int? but argument is of type ?struct request *? drivers/ide/ide-park.c:55:2: error: too many arguments to function ?elv_add_request? include/linux/elevator.h:115:13: note: declared here drivers/ide/ide-atapi.c:237:2: warning: passing argument 1 of ?elv_add_request? from incompatible pointer type [enabled by default] include/linux/elevator.h:115:13: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/ide/ide-atapi.c:237:2: warning: passing argument 2 of ?elv_add_request? makes integer from pointer without a cast [enabled by default] include/linux/elevator.h:115:13: note: expected ?int? but argument is of type ?struct request *? drivers/ide/ide-atapi.c:237:2: error: too many arguments to function ?elv_add_request? include/linux/elevator.h:115:13: note: declared here drivers/memstick/core/mspro_block.c:711:13: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/memstick/core/mspro_block.c:711:13: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/mmc/card/queue.c:391:3: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/mmc/card/queue.c:391:3: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/mmc/card/queue.c:391:3: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/mmc/card/queue.c:395:2: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/mmc/card/queue.c:395:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/mmc/card/queue.c:395:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/message/i2o/i2o_block.c:324:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/message/i2o/i2o_block.c:324:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/target/target_core_pscsi.c:1224:2: error: too many arguments to function ?__blk_put_request? include/linux/blkdev.h:645:13: note: declared here drivers/scsi/device_handler/scsi_dh_hp_sw.c:230:2: error: too many arguments to function ?__blk_put_request? include/linux/blkdev.h:645:13: note: declared here drivers/scsi/device_handler/scsi_dh_alua.c:255:2: error: too many arguments to function ?__blk_put_request? include/linux/blkdev.h:645:13: note: declared here drivers/scsi/osd/osd_initiator.c:501:3: error: too many arguments to function ?__blk_put_request? include/linux/blkdev.h:645:13: note: declared here drivers/scsi/osd/osd_initiator.c:505:2: error: too many arguments to function ?__blk_put_request? include/linux/blkdev.h:645:13: note: declared here drivers/scsi/scsi_tgt_lib.c:155:2: warning: passing argument 1 of ?__blk_put_request? from incompatible pointer type [enabled by default] include/linux/blkdev.h:645:13: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/scsi/scsi_tgt_lib.c:155:2: error: too many arguments to function ?__blk_put_request? include/linux/blkdev.h:645:13: note: declared here drivers/scsi/scsi_transport_fc.c: In function ?fc_bsg_map_buffer?: drivers/scsi/scsi_transport_fc.c:3674:2: warning: passing argument 1 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct request *? but argument is of type ?struct request_queue *? drivers/scsi/scsi_transport_fc.c:3674:2: warning: passing argument 2 of ?blk_rq_map_sg? from incompatible pointer type [enabled by default] include/linux/blkdev.h:845:12: note: expected ?struct scatterlist *? but argument is of type ?struct request *? drivers/scsi/scsi_transport_fc.c:3674:2: error: too many arguments to function ?blk_rq_map_sg? include/linux/blkdev.h:845:12: note: declared here drivers/scsi/scsi_transport_fc.c: In function ?fc_bsg_remove?: --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu <wfg at linux.intel.com> Intel Corporation
Jens Axboe
2012-Jun-14 06:30 UTC
Re: drivers/block/cpqarray.c:938:2: error: too many arguments to function ‘blk_rq_map_sg’
On 06/14/2012 01:03 AM, wfg at linux.intel.com wrote:> FYI, kernel build failed on > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git multiqueue > head: e9a6aa8a0b7b93195774a9fcf551632bf3abcd97 > commit: 67db7275fa4325d46853a4bfcb79acf32e48eca8 [1/3] multiqueue: a hodge podge of thingsThe multiqueue branch is a private branch, it's known broken on many configs at the moment. -- Jens Axboe
Fengguang Wu
2012-Jun-14 09:01 UTC
drivers/block/cpqarray.c:938:2: error: too many arguments to function 慴lk_rq_map_sg�
Hi Jens, On Thu, Jun 14, 2012 at 08:30:11AM +0200, Jens Axboe wrote:> On 06/14/2012 01:03 AM, wfg at linux.intel.com wrote: > > FYI, kernel build failed on > > > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git multiqueue > > head: e9a6aa8a0b7b93195774a9fcf551632bf3abcd97 > > commit: 67db7275fa4325d46853a4bfcb79acf32e48eca8 [1/3] multiqueue: a hodge podge of things > > The multiqueue branch is a private branch, it's known broken on many > configs at the moment.OK. Sorry my script just blindly build tests every new/updated branches in the tree. It does try to reduce noise level by remembering all warned error messages. However if it still presents a problem to the private branches, I can either explicitly blacklist "multiqueue", or let the script automatically skip commits whose "^Signed-off-by:" is still missing. Thanks, Fengguang
Maybe Matching Threads
- drivers/block/cpqarray.c:938:2: error: too many arguments to function ‘blk_rq_map_sg’
- [PATCH] multiqueue: a hodge podge of things
- [PATCH] multiqueue: a hodge podge of things
- [PATCH 01/10] block: introduce blk_is_valid_logical_block_size
- [PATCH 01/10] block: introduce blk_is_valid_logical_block_size