aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-04-08 11:22:46 +0800
committerDavid S. Miller <davem@davemloft.net>2022-04-11 10:45:34 +0100
commitb559edfaf3f3f3eb726f99f65b181ab310b3d4bc (patch)
tree2cb918efdaa83fa9811e02e61d04f6abbca87a7c /tools/perf/scripts/python/bin
parentMerge branch 'icmp-skb-reason' (diff)
net: ethernet: mtk_eth_soc: fix return value check in mtk_wed_add_hw()
If syscon_regmap_lookup_by_phandle() fails, it never return NULL pointer, change the check to IS_ERR(). Fixes: 804775dfc288 ("net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch (WED)") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions