diff options
| author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2026-07-22 19:48:53 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-07-23 11:01:05 -0700 |
| commit | ed6dc972c19ff9ffca504f5739848da4275219e3 (patch) | |
| tree | c675df2cc86a3e23b636cde6b1b13d86839bc800 | |
| parent | 1324135c41671f8da3bbe0b2539b6c83b09c6cb0 (diff) | |
| download | linux-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.c | 2 |
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; } } |
