projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa031d
)
[SPARC32]: Fix build-warning in io-unit.c
author
David S. Miller
<davem@sunset.davemloft.net>
Sat, 27 Oct 2007 07:54:14 +0000
(
00:54
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Sat, 27 Oct 2007 07:54:14 +0000
(
00:54
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/io-unit.c
patch
|
blob
|
history
diff --git
a/arch/sparc/mm/io-unit.c
b/arch/sparc/mm/io-unit.c
index 1666087c5b80e751587785046b848a1697563a35..b86dfce8eee44b6ad01ea3ada7bcb0c0733f61b4 100644
(file)
--- a/
arch/sparc/mm/io-unit.c
+++ b/
arch/sparc/mm/io-unit.c
@@
-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);
}