mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
net/fsl: xgmac_mdio: Add missing newlines to error prints
Add missing newlines at the end of debug prints. Signed-off-by: Marek Vasut <marex@nabladev.com> Link: https://patch.msgid.link/20261016183804.39217-1-marex@nabladev.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
7dca8514c5
commit
39e24cf5e2
|
|
@ -336,13 +336,13 @@ static int xgmac_mdio_set_mdc_freq(struct mii_bus *bus)
|
|||
|
||||
priv->enet_clk = devm_clk_get(dev, NULL);
|
||||
if (IS_ERR(priv->enet_clk)) {
|
||||
dev_err(dev, "Input clock unknown, not changing MDC frequency");
|
||||
dev_err(dev, "Input clock unknown, not changing MDC frequency\n");
|
||||
return PTR_ERR(priv->enet_clk);
|
||||
}
|
||||
|
||||
div = ((clk_get_rate(priv->enet_clk) / priv->mdc_freq) - 1) / 2;
|
||||
if (div < 5 || div > 0x1ff) {
|
||||
dev_err(dev, "Requested MDC frequency is out of range, ignoring");
|
||||
dev_err(dev, "Requested MDC frequency is out of range, ignoring\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user