aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2022-04-02 19:56:55 +0200
committerGreg Kroah-Hartman <[email protected]>2022-04-04 07:33:49 +0200
commitaaec586a3ca5d24ed67faee54f7a54d3e6ac1107 (patch)
tree114c225c5114c1435a0ac197b45781493b5095b3 /tools/perf/scripts/python/bin
parentc9736770e6c30295dfd1802dde87b7f727d699f7 (diff)
staging: sm750fb: Call iounmap() to free mapped bus memory
If ioremap_wc() fails, the code jumps to the "exit" label and forgets to free the bus memory mapped into "sm750_dev->pvReg". Mapped bus memory must always be freed by calling iounmap(). Call iounmap(sm750_dev->pvReg) when the above-mentioned failures happen. The site of the missing iounmap() has been detected by Smatch. Signed-off-by: Fabio M. De Francesco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions