# Re: \[PATCH 07/10\] dynamic\_debug: make netdev\_dbg() call \_\_netdev\_printk()

- From: Joe Perches \<joe@perches.com\>
- Date: 2011-07-06 21:50:32 
- List: netdev
- Page: https://ratatoskr.run/netdev/2011/07/3738374
- Thread: https://ratatoskr.run/netdev/2011/07/3738233/t.md

```text
On Wed, 2011-07-06 at 13:25 -0400, Jason Baron wrote:
> diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
[]
> @@ -503,6 +504,30 @@ int __dynamic_dev_dbg(struct _ddebug *descriptor,
[]
> +int __dynamic_netdev_dbg(struct _ddebug *descriptor,
> +		      const struct net_device *dev, const char *fmt, ...)
[]
> +	res += __netdev_printk("", dev, &vaf);

KERN_CONT here too.
```
