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>
This commit is contained in:
Niklas Söderlund
2026-07-23 11:01:05 -07:00
committed by Jakub Kicinski
parent 1324135c41
commit ed6dc972c1
+1 -1
View File
@@ -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;
}
}