summaryrefslogtreecommitdiff
path: root/include/linux/raid
diff options
context:
space:
mode:
authorTomas Henzl <thenzl@redhat.com>2014-08-14 16:12:39 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-04-21 11:54:44 +0100
commite1a3cf70c58b603a43bbdcf1b647e97c9e916628 (patch)
tree8b726342079a26278d81a8892343df0573be2818 /include/linux/raid
parent4e924036d47e152f1b90f61e7412100e4a88b0c8 (diff)
hpsa: refine the pci enable/disable handling
commit 132aa220b45d60e9b20def1e9d8be9422eed9616 upstream. 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 <thenzl@redhat.com> Reviewed-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: Masoud Sharbiani <msharbiani@twopensource.com> Cc: Vinson Lee <vlee@twopensource.com> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/raid')
0 files changed, 0 insertions, 0 deletions