aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSam Bobroff <[email protected]>2018-05-25 13:11:30 +1000
committerMichael Ellerman <[email protected]>2018-06-03 20:43:38 +1000
commit46d4be41b987a6b2d25a2ebdd94cafb44e21d6c5 (patch)
tree13e0bbf0b3cf0d0cd47e59ebd18df94d5058d444 /include/linux
parent796b9f5b317a46d1b744f661c38a62b1280a6ab7 (diff)
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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions