mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 02:54:32 +08:00
035a14e71f
of_get_phy_mode may fail and return a negative error code;
the fix checks the return value of of_get_phy_mode and
returns NULL of it fails.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ravb_main.c | ||
ravb_ptp.c | ||
ravb.h | ||
sh_eth.c | ||
sh_eth.h |