aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorWen Yang <[email protected]>2019-11-24 22:58:35 +0800
committerMark Brown <[email protected]>2019-11-27 12:53:48 +0000
commit4affd79a125ac91e6a53be843ea3960a8fc00cbb (patch)
treebb42d14a7ee8ee531d8332ad4280b1747aeaf371 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentc15d5a645875bc9b89f68f5d3fb608f691ac78d7 (diff)
regulator: fix use after free issue
This is caused by dereferencing 'rdev' after put_device() in the _regulator_get()/_regulator_put() functions. This patch just moves the put_device() down a bit to avoid the issue. Signed-off-by: Wen Yang <[email protected]> Cc: Liam Girdwood <[email protected]> Cc: Mark Brown <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions