214b3369ab
Clang static analysis reports this problem
mtk_eth_soc.c:394:7: warning: Branch condition evaluates
to a garbage value
if (err)
^~~
err is not initialized and only conditionally set.
So intitialize err.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtk_eth_path.c | ||
mtk_eth_soc.c | ||
mtk_eth_soc.h | ||
mtk_ppe.c | ||
mtk_ppe.h | ||
mtk_ppe_debugfs.c | ||
mtk_ppe_offload.c | ||
mtk_ppe_regs.h | ||
mtk_sgmii.c | ||
mtk_star_emac.c |