Re: [PATCH 3/9] Fix a printk call

From: Paul E. McKenney
Date: Fri May 30 2008 - 04:24:08 EST


On Wed, May 07, 2008 at 01:35:56PM +0200, Nadia.Derbey@xxxxxxxx wrote:
> [PATCH 03/09]
>
> This is a trivial patch that fixes the printk incomplete call.

Reviewed-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>

> Signed-off-by: Nadia Derbey <Nadia.Derbey@xxxxxxxx>
>
> ---
> lib/idr.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> Index: linux-2.6.25-mm1/lib/idr.c
> ===================================================================
> --- linux-2.6.25-mm1.orig/lib/idr.c 2008-05-06 17:24:15.000000000 +0200
> +++ linux-2.6.25-mm1/lib/idr.c 2008-05-06 17:26:41.000000000 +0200
> @@ -325,7 +325,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();
> }
>
>
> --
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/