scatterlist: sg_set_buf() argument must be in linear mapping
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 30 May 2013 07:19:35 +0000 (09:19 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 30 May 2013 07:20:20 +0000 (09:20 +0200)
commitac4e97abce9b80c020e7113325f49e58b7b15e3f
tree6b1395a60b4e28a34f4e3693fbfb3df98008a20b
parent4997b72ee62930cb841d185398ea547d979789f4
scatterlist: sg_set_buf() argument must be in linear mapping

Add a check behind CONFIG_DEBUG_SG to verify this.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/scatterlist.h