Re: [RFC PATCH v1 3/3] Sample refactor of socket.c to userecursive printk

From: David Miller
Date: Sat Dec 06 2008 - 02:03:19 EST


From: Nick Andrew <nick@xxxxxxxxxxxxxxx>
Date: Sat, 06 Dec 2008 18:00:23 +1100

> Sample refactor of socket.c to use recursive printk
>
> Add a new function net_printk which takes a level argument
> (kernel message level), format string and varargs and
> calls printk with this format string and arguments:
>
> printk("%sNET: %v\n", level, fmt, args);
>
> This is a proof of concept to show that recursive printk
> works and is useful.
>
> Signed-off-by: Nick Andrew <nick@xxxxxxxxxxxxxxx>

Looks not that useful to me, to be honest.

--
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/