Skip to content

Commit

Permalink
idr: fix a printk call
Browse files Browse the repository at this point in the history
Fix the incomplete printk call.

Signed-off-by: Nadia Derbey <Nadia.Derbey@bull.net>
Reviewed-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Jim Houston <jim.houston@comcast.net>
Cc: Pierre Peiffer <peifferp@gmail.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Nadia Derbey authored and Linus Torvalds committed Jul 25, 2008
1 parent 4ae5378 commit f098ad6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/idr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit f098ad6

Please sign in to comment.