commit | 9d68db5092c5fac99fccfdeab3f04df0b27d1762 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Thu Oct 31 15:42:26 2019 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 01 15:06:46 2019 -0700 |
tree | 92437a5cf3c870c7263d9c9b505dd81ba8463a0a | |
parent | 9cfeeb576d49a7b5e643b8066ba64a55e8417c5d [diff] |
net: phylink: Fix phylink_dbg() macro 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@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>