wfg at linux.intel.com
2012-Jun-13 23:03 UTC
drivers/block/xen-blkfront.c:317:11: 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: x86_64-allyesdebian (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/xen-blkfront.c:317:11: 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/xen-blkfront.c:317:11: 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 include/linux/blkdev.h:794:30: note: declared here include/linux/elevator.h:115:13: note: expected ?struct request *? but argument is of type ?struct request_queue *? include/linux/elevator.h:115:13: note: expected ?int? but argument is of type ?struct request *? include/linux/elevator.h:115:13: note: declared here include/linux/elevator.h:115:13: note: expected ?struct request *? but argument is of type ?struct request_queue *? include/linux/elevator.h:115:13: note: expected ?int? but argument is of type ?struct request *? include/linux/elevator.h:115:13: 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/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/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 include/linux/blkdev.h:645:13: note: declared here include/linux/blkdev.h:645:13: note: declared here include/linux/blkdev.h:645:13: note: declared here include/linux/blkdev.h:645:13: note: declared here include/linux/blkdev.h:645:13: note: declared here include/linux/blkdev.h:645:13: note: expected ?struct request *? but argument is of type ?struct request_queue *? 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?: drivers/scsi/scsi_transport_fc.c:4145:14: error: ?struct request_queue? has no member named ?rq? drivers/scsi/scsi_transport_fc.c:4145:31: error: ?struct request_queue? has no member named ?rq? drivers/scsi/scsi_transport_fc.c:4146:6: error: ?struct request_queue? has no member named ?rq? drivers/scsi/scsi_transport_fc.c:4146:25: error: ?struct request_queue? has no member named ?rq? include/linux/blkdev.h:645:13: note: declared here include/linux/blkdev.h:645:13: note: declared here --- 0-DAY kernel build testing backend Open Source Technology Centre Fengguang Wu <wfg at linux.intel.com> Intel Corporation