diff options
| author | 2022-04-08 11:22:46 +0800 | |
|---|---|---|
| committer | 2022-04-11 10:45:34 +0100 | |
| commit | b559edfaf3f3f3eb726f99f65b181ab310b3d4bc (patch) | |
| tree | 2cb918efdaa83fa9811e02e61d04f6abbca87a7c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | Merge 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/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
