summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeng Wu <wupeng58@huawei.com>2022-09-23 05:36:40 +0300
committerJakub Kicinski <kuba@kernel.org>2022-09-26 23:20:23 +0300
commit4774db8dfc6a2e6649920ebb2fc8e2f062c2080d (patch)
tree008f299193ea46f890bfc5ff2f55d3b53f54fd87 /tools/perf/scripts/python
parentc635ebe8d911a93bd849a9419b01a58783de76f1 (diff)
downloadlinux-4774db8dfc6a2e6649920ebb2fc8e2f062c2080d.tar.xz
net/mlxbf_gige: Fix an IS_ERR() vs NULL bug in mlxbf_gige_mdio_probe
The devm_ioremap() function returns NULL on error, it doesn't return error pointers. Fixes: 3a1a274e933f ("mlxbf_gige: compute MDIO period based on i1clk") Signed-off-by: Peng Wu <wupeng58@huawei.com> Link: https://lore.kernel.org/r/20220923023640.116057-1-wupeng58@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions