aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/rt305x
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2020-04-25 17:35:53 +0900
committerChuanhong Guo <gch981213@gmail.com>2020-05-19 19:03:07 +0800
commitf7112a180f3655c56fb2c31eff286ee98983ca45 (patch)
tree2e53042c590991874603fc96438eb9a0749fb9c8 /target/linux/ramips/rt305x
parent0a05d71f6f34d2e9101fa40e9643d4f7bc8e7501 (diff)
downloadupstream-f7112a180f3655c56fb2c31eff286ee98983ca45.tar.gz
upstream-f7112a180f3655c56fb2c31eff286ee98983ca45.tar.bz2
upstream-f7112a180f3655c56fb2c31eff286ee98983ca45.zip
ramips: 5.4: handle ERR_PTR properly
of_get_mac_address can return ERR_PTR since 5.2, so the return pointer should be checked before used. Otherwise it might cause an oops during boot. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ramips/rt305x')
0 files changed, 0 insertions, 0 deletions