From: Andreas Gruenbacher Date: Fri, 15 Jul 2011 07:43:23 +0000 (+0200) Subject: drbd: Print memory address in hex instead of decimal in error message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5af172ed9ef2c6b11e0d27c06647f14f6f8115b9;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drbd: Print memory address in hex instead of decimal in error message Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index d4e677c9c764..bfbc10352faa 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -1611,7 +1611,7 @@ find_request(struct drbd_conf *mdev, struct rb_root *root, u64 id, if (drbd_contains_interval(root, sector, &req->i) && req->i.local) return req; if (!missing_ok) { - dev_err(DEV, "%s: failed to find request %lu, sector %llus\n", func, + dev_err(DEV, "%s: failed to find request 0x%lx, sector %llus\n", func, (unsigned long)id, (unsigned long long)sector); } return NULL;