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

login
register
mail settings
Submitter Stephen Rothwell
Date Jan. 7, 2009, 12:28 a.m.
Message ID <20090107112848.913750fa.sfr@canb.auug.org.au>
Download mbox | patch
Permalink /patch/16981/
State Accepted
Commit 1901515c79f13d9a1913d246b6c0711318dadb4c
Headers show

Comments

Stephen Rothwell - Jan. 7, 2009, 12:28 a.m.
This is a powerpc specific driver.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/char/bsr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c
index 977dfb1..f6094ae 100644
--- a/drivers/char/bsr.c
+++ b/drivers/char/bsr.c
@@ -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[] = {