projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39f36b4
)
mg_disk: fix CONFIG_LBD=y warning
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 28 Apr 2009 03:38:33 +0000
(12:38 +0900)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 28 Apr 2009 18:24:20 +0000
(20:24 +0200)
drivers/block/mg_disk.c: In function ‘mg_dump_status’:
drivers/block/mg_disk.c:265: warning: format ‘%ld’ expects type ‘long int’, but
argument 2 has type ‘sector_t’
[ Impact: kill build warning ]
Cc: unsik Kim <donari75@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/block/mg_disk.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/mg_disk.c
b/drivers/block/mg_disk.c
index d3e72ad08dbe13df8323ac991535fdfa45294e26..f3898353d0a8f9dc6d328ace0e06689ae366c214 100644
(file)
--- a/
drivers/block/mg_disk.c
+++ b/
drivers/block/mg_disk.c
@@
-79,7
+79,7
@@
static void mg_dump_status(const char *msg, unsigned int stat,
if (host->breq) {
req = elv_next_request(host->breq);
if (req)
- printk(", sector=%
ld",
req->sector);
+ printk(", sector=%
u", (u32)
req->sector);
}
}