aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorTomas Henzl <[email protected]>2014-08-14 16:12:39 +0200
committerChristoph Hellwig <[email protected]>2014-09-16 09:09:49 -0700
commit132aa220b45d60e9b20def1e9d8be9422eed9616 (patch)
tree239084090915d462402b4566c04d35161f3594d7 /scripts/objdiff
parent9e0328453ea1a0e800b10daafffbadeac68273fd (diff)
hpsa: refine the pci enable/disable handling
When a second(kdump) kernel starts and the hard reset method is used the driver calls pci_disable_device without previously enabling it, so the kernel shows a warning - [ 16.876248] WARNING: at drivers/pci/pci.c:1431 pci_disable_device+0x84/0x90() [ 16.882686] Device hpsa disabling already-disabled device ... This patch fixes it, in addition to this I tried to balance also some other pairs of enable/disable device in the driver. Unfortunately I wasn't able to verify the functionality for the case of a sw reset, because of a lack of proper hw. Signed-off-by: Tomas Henzl <[email protected]> Reviewed-by: Stephen M. Cameron <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions