Re: [PATCH net] net: phylink: Fix phylink_dbg() macro

From: David Miller
Date: Fri Nov 01 2019 - 18:08:01 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Thu, 31 Oct 2019 15:42:26 -0700

> The phylink_dbg() macro does not follow dynamic debug or defined(DEBUG)
> and as a result, it spams the kernel log since a PR_DEBUG level is
> currently used. Fix it to be defined appropriately whether
> CONFIG_DYNAMIC_DEBUG or defined(DEBUG) are set.
>
> Fixes: 17091180b152 ("net: phylink: Add phylink_{printk, err, warn, info, dbg} macros")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied and queued up for -stable.