summaryrefslogtreecommitdiffstats
path: root/drivers/block/umem.c
diff options
context:
space:
mode:
authorZach Brown <zach.brown@oracle.com>2006-10-03 10:16:07 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 17:04:19 +0200
commitf2b9ecc41654256ae8829193d3380935833ae976 (patch)
tree45033534396fbf5428f118d4e301dc1273da6cf3 /drivers/block/umem.c
parent[PATCH] pr_debug: sysfs: use size_t length modifier in pr_debug format arguments (diff)
downloadlinux-f2b9ecc41654256ae8829193d3380935833ae976.tar.xz
linux-f2b9ecc41654256ae8829193d3380935833ae976.zip
[PATCH] pr_debug: umem: repair nonexistant bh pr_debug reference
umem: repair nonexistant bh pr_debug reference Signed-off-by: Zach Brown <zach.brown@oracle.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/umem.c')
-rw-r--r--drivers/block/umem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/umem.c b/drivers/block/umem.c
index 5d8925bd9045..cbb9d0f21acc 100644
--- a/drivers/block/umem.c
+++ b/drivers/block/umem.c
@@ -552,7 +552,8 @@ static void process_page(unsigned long data)
static int mm_make_request(request_queue_t *q, struct bio *bio)
{
struct cardinfo *card = q->queuedata;
- pr_debug("mm_make_request %ld %d\n", bh->b_rsector, bh->b_size);
+ pr_debug("mm_make_request %llu %u\n",
+ (unsigned long long)bio->bi_sector, bio->bi_size);
bio->bi_phys_segments = bio->bi_idx; /* count of completed segments*/
spin_lock_irq(&card->lock);