From fd47f0d38ae623707c7b71031ae551287996db00 Mon Sep 17 00:00:00 2001 From: Amir Vadai Date: Wed, 4 May 2011 09:30:24 +0300 Subject: [PATCH] sdp: make sdp memory leak print a debug Since this is probably an accounting error and not a real memory leak - should be a debug only for now. Signed-off-by: Amir Vadai --- drivers/infiniband/ulp/sdp/sdp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c b/drivers/infiniband/ulp/sdp/sdp_main.c index fdd6d0f85e9f..de6407bbf31b 100644 --- a/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/drivers/infiniband/ulp/sdp/sdp_main.c @@ -2986,7 +2986,7 @@ static void __exit sdp_exit(void) BUG_ON(!list_empty(&sock_list)); if (atomic_read(&memory_allocated)) - printk(KERN_WARNING "SDP detected memory leak. Memory_allocated: %d\n", + sdp_dbg(NULL, "SDP detected memory leak. Memory_allocated: %d\n", atomic_read(&memory_allocated)); if (percpu_counter_sum(sockets_allocated)) -- 2.50.1