Skip to contentSkip to conversation

powerpc: cleanup from l64 to ll64 change: drivers/char

PATCH New Stephen Rothwell 1 participant 1 message Jan 7, 2009 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc: cleanup from l64 to ll64 change: drivers/char

This is a powerpc specific driver.

---
 drivers/char/bsr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/char/bsr.c +1 -1
index 977dfb1..f6094ae 100644
@@ -103,7 +103,7 @@ static ssize_t
 bsr_len_show(struct device *dev, struct device_attribute *attr, char *buf)
 {
 	struct bsr_dev *bsr_dev = dev_get_drvdata(dev);
-	return sprintf(buf, "%lu\n", bsr_dev->bsr_len);
+	return sprintf(buf, "%llu\n", bsr_dev->bsr_len);
 }
 
 static struct device_attribute bsr_dev_attrs[] = {
Signature · 6 lines
1.6.0.5

-- 
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/