stec skd block driver needs updating for immutable biovec

From: Mike Snitzer
Date: Fri Nov 01 2013 - 11:43:46 EST


Hey Jens and Kent,

You're likely already aware of this but building the latest
linux-block.git 'for-next' I get:

CC [M] drivers/block/skd_main.o
drivers/block/skd_main.c: In function âskd_request_fnâ:
drivers/block/skd_main.c:773: error: âstruct bioâ has no member named âbi_sectorâ
drivers/block/skd_main.c: In function âskd_end_request_bioâ:
drivers/block/skd_main.c:1142: error: âstruct bioâ has no member named âbi_sectorâ
drivers/block/skd_main.c: In function âskd_preop_sg_list_bioâ:
drivers/block/skd_main.c:1198: error: implicit declaration of function âbio_iovec_idxâ
drivers/block/skd_main.c:1198: warning: assignment makes pointer from integer without a cast
drivers/block/skd_main.c: In function âskd_log_skreqâ:
drivers/block/skd_main.c:5814: error: âstruct bioâ has no member named âbi_sectorâ
make[2]: *** [drivers/block/skd_main.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2

All the bi_sector ones are low hanging fruit, but the conversion for
skd_preop_sg_list_bio()'s bio_vec code is more involved.

Kent, any chance you could crank through it?

If not I can come back to trying to fix this later.. but I'm working
through a test merge of linux-dm.git's 'for-next' with linux-block.git's
'for-next'.

(I happen to have one of these stec cards so I'll be able to test)

Mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/