From: Nadia Derbey Date: Fri, 25 Jul 2008 08:47:59 +0000 (-0700) Subject: idr: fix a printk call X-Git-Tag: v2.6.27-rc1~322 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f098ad655f4dd8e3da98ffbeda9cedcc4459c01a;p=linux-2.6-omap-h63xx.git idr: fix a printk call Fix the incomplete printk call. Signed-off-by: Nadia Derbey Reviewed-by: "Paul E. McKenney" Cc: Manfred Spraul Cc: Jim Houston Cc: Pierre Peiffer Acked-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/lib/idr.c b/lib/idr.c index 8170ace154f..9d905b131ec 100644 --- a/lib/idr.c +++ b/lib/idr.c @@ -326,7 +326,8 @@ EXPORT_SYMBOL(idr_get_new); static void idr_remove_warning(int id) { - printk("idr_remove called for id=%d which is not allocated.\n", id); + printk(KERN_WARNING + "idr_remove called for id=%d which is not allocated.\n", id); dump_stack(); }