diff options
author | Kangjie Lu <kjlu@umn.edu> | 2019-03-12 10:50:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-13 00:52:00 +0300 |
commit | 4ec850e5dfec092b26cf3b7d5a6c9e444ea4babd (patch) | |
tree | 25d09ed2f4437df2ad9d09977884275678e8af7a /net/netfilter/nf_conntrack_sip.c | |
parent | 035a14e71f27eefa50087963b94cbdb3580d08bf (diff) | |
download | linux-4ec850e5dfec092b26cf3b7d5a6c9e444ea4babd.tar.xz |
net: dwmac-sun8i: fix a missing check of of_get_phy_mode
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 -EINVAL of it fails.
Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_sip.c')
0 files changed, 0 insertions, 0 deletions