diff options
author | 2018-05-25 13:11:30 +1000 | |
---|---|---|
committer | 2018-06-03 20:43:38 +1000 | |
commit | 46d4be41b987a6b2d25a2ebdd94cafb44e21d6c5 (patch) | |
tree | 13e0bbf0b3cf0d0cd47e59ebd18df94d5058d444 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | powerpc/eeh: Add final message for successful recovery (diff) | |
download | wireguard-linux-46d4be41b987a6b2d25a2ebdd94cafb44e21d6c5.tar.xz wireguard-linux-46d4be41b987a6b2d25a2ebdd94cafb44e21d6c5.zip |
powerpc/eeh: Fix use-after-release of EEH driver
Correct two cases where eeh_pcid_get() is used to reference the driver's
module but the reference is dropped before the driver pointer is used.
In eeh_rmv_device() also refactor a little so that only two calls to
eeh_pcid_put() are needed, rather than three and the reference isn't
taken at all if it wasn't needed.
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions