net: dsa: qca8k: correctly handle mdio read error
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.18.3 by commit 504999e505a803f408b832388b7ef342df5bdbfa, it was introduced in version v5.15 by commit ce062a0adbfe933b1932235fdfd874c4c91d1bb0. For more details please see the references link.