diff options
author | Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com> | 2014-02-05 16:20:45 -0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-02-11 11:24:46 +1100 |
commit | 8cc6b6cd8713457be80202fc4264f05d20bc5e1b (patch) | |
tree | 8c6a3bab4a72bc2d2c86a8cb4d1d514e4f08b99c /arch/powerpc/include/asm/sections.h | |
parent | 0215b4aa069b989c963d594cf0f1c705e21d8ca5 (diff) |
powerpc/eeh: Drop taken reference to driver on eeh_rmv_device
Commit f5c57710dd62dd06f176934a8b4b8accbf00f9f8 ("powerpc/eeh: Use
partial hotplug for EEH unaware drivers") introduces eeh_rmv_device,
which may grab a reference to a driver, but not release it.
That prevents a driver from being removed after it has gone through EEH
recovery.
This patch drops the reference if it was taken.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Acked-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/sections.h')
0 files changed, 0 insertions, 0 deletions