From 8a3fed4e54c79e4aa3d4220b0fb5fc182f856205 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 17 Feb 2015 08:57:36 +0000 Subject: [PATCH] Fix compilation when DEBUG is defined. Sponsored by: Mellanox Technologies MFC after: 1 month --- sys/ofed/drivers/infiniband/core/fmr_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ofed/drivers/infiniband/core/fmr_pool.c b/sys/ofed/drivers/infiniband/core/fmr_pool.c index bda7abc84b9..4ba4c77a77f 100644 --- a/sys/ofed/drivers/infiniband/core/fmr_pool.c +++ b/sys/ofed/drivers/infiniband/core/fmr_pool.c @@ -151,7 +151,7 @@ static void ib_fmr_batch_release(struct ib_fmr_pool *pool) #ifdef DEBUG if (fmr->ref_count !=0) { - printk(KERN_WARNING PFX "Unmapping FMR 0x%08x with ref count %d\n", + printk(KERN_WARNING PFX "Unmapping FMR %p with ref count %d\n", fmr, fmr->ref_count); } #endif