# Re: \[PATCH \] dynamic\_debug: call \_\_netdev\_printk only for CONFIG\_NET

- From: Greg KH \<hidden\>
- Date: 2011-09-18 08:33:05 
- List: netdev
- Page: https://ratatoskr.run/netdev/2011/09/3764656
- Thread: https://ratatoskr.run/netdev/2011/08/3751595/t.md

```text
On Thu, Sep 01, 2011 at 11:18:18AM -0400, Jason Baron wrote:
> On Thu, Sep 01, 2011 at 04:57:02PM +0200, Arnd Bergmann wrote:
> > __netdev_printk is only defined when CONFIG_NET is set. Since we only need
> > __dynamic_netdev_dbg for network drivers, we can make it conditional on the
> > same Kconfig symbol.
> >
> 
> Hi,
> 
> Yes, I've posted a fix for this:
> 
> https://lkml.org/lkml/2011/8/30/297
> 
> Hopefully, it will be pulled in soon.

As that thread again spun off into confusion, can you please resend the
end result?

thanks,

greg k-h
```
