diff options
author | Dejin Zheng <[email protected]> | 2020-05-03 20:32:26 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-03 16:01:48 -0700 |
commit | b959c77dac09348955f344104c6a921ebe104753 (patch) | |
tree | fd39090c49ad27404963905bf0c81f1ef9229219 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 57c7f2bd758eed867295c81d3527fff4fab1ed74 (diff) |
net: macb: fix an issue about leak related system resources
A call of the function macb_init() can fail in the function
fu540_c000_init. The related system resources were not released
then. use devm_platform_ioremap_resource() to replace ioremap()
to fix it.
Fixes: c218ad559020ff9 ("macb: Add support for SiFive FU540-C000")
Cc: Andy Shevchenko <[email protected]>
Reviewed-by: Yash Shah <[email protected]>
Suggested-by: Nicolas Ferre <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Dejin Zheng <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions