提交 6ee4e28b 编写于 作者: D David S. Miller

[SPARC32]: Fix build-warning in io-unit.c

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0aa031d9
......@@ -144,7 +144,7 @@ static void iounit_get_scsi_sgl(struct scatterlist *sg, int sz, struct sbus_bus
spin_lock_irqsave(&iounit->lock, flags);
while (sz != 0) {
--sz;
sg->dvma_address = iounit_get_area(iounit, sg_virt(sg), sg->length);
sg->dvma_address = iounit_get_area(iounit, (unsigned long) sg_virt(sg), sg->length);
sg->dvma_length = sg->length;
sg = sg_next(sg);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册