[SG] Update drivers to use sg helpers
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / block / sunvdc.c
index 317a790c153b91c7748972dfa78890e64f13c7fb..7276f7d207c2f3cfcfc3d036efce68a35ca84620 100644 (file)
@@ -388,6 +388,7 @@ static int __send_request(struct request *req)
                op = VD_OP_BWRITE;
        }
 
+       sg_init_table(sg, port->ring_cookies);
        nsg = blk_rq_map_sg(req->q, req, sg);
 
        len = 0;