summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2026-07-22 19:48:53 +0200
committerJakub Kicinski <kuba@kernel.org>2026-07-23 11:01:05 -0700
commited6dc972c19ff9ffca504f5739848da4275219e3 (patch)
treec675df2cc86a3e23b636cde6b1b13d86839bc800
parent1324135c41671f8da3bbe0b2539b6c83b09c6cb0 (diff)
downloadlinux-next-ed6dc972c19ff9ffca504f5739848da4275219e3.tar.gz
linux-next-ed6dc972c19ff9ffca504f5739848da4275219e3.zip
net: dsa: microchip: Fix log typo in error path
All other log messages in the driver prefix hex values with 0x, add it in the one missing message. While at it also add the missing opening parenthesis in the same log message. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20260722174853.2316333-1-niklas.soderlund+renesas@ragnatech.se Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--drivers/net/dsa/microchip/ksz_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c
index 67ab6ddb9e53..ff4dd51f6cb0 100644
--- a/drivers/net/dsa/microchip/ksz_common.c
+++ b/drivers/net/dsa/microchip/ksz_common.c
@@ -2994,7 +2994,7 @@ static int ksz_switch_detect(struct ksz_device *dev)
break;
default:
dev_err(dev->dev,
- "unsupported switch detected %x)\n", id32);
+ "unsupported switch detected (0x%x)\n", id32);
return -ENODEV;
}
}