mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00: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.h | ||
ravb_main.c | ||
ravb_ptp.c | ||
sh_eth.c | ||
sh_eth.h |