diff options
author | Claus Hansen Ries <[email protected]> | 2024-03-21 13:08:59 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-03-25 19:46:56 -0700 |
commit | 3a38a829c8bc27d78552c28e582eb1d885d07d11 (patch) | |
tree | 4de76b2217c1c4ca82f5a2b2595bd0dea17ec5fe /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | afb373ff3f54c9d909efc7f810dc80a9742807b2 (diff) |
net: ll_temac: platform_get_resource replaced by wrong function
The function platform_get_resource was replaced with
devm_platform_ioremap_resource_byname and is called using 0 as name.
This eventually ends up in platform_get_resource_byname in the call
stack, where it causes a null pointer in strcmp.
if (type == resource_type(r) && !strcmp(r->name, name))
It should have been replaced with devm_platform_ioremap_resource.
Fixes: bd69058f50d5 ("net: ll_temac: Use devm_platform_ioremap_resource_byname()")
Signed-off-by: Claus Hansen Ries <[email protected]>
Cc: [email protected]
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions