]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
skd: Fix incomplete cleanup of MSI-X interrupt
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 19 Feb 2014 08:58:19 +0000 (09:58 +0100)
committerJens Axboe <axboe@fb.com>
Fri, 21 Feb 2014 23:45:26 +0000 (15:45 -0800)
commit46817769edb239b511a63345ba2f3c87803f1c14
treead5b8a6bae5bd08677e4a0ee65f7013831936565
parentc5e3035c88cbefe60ec155b3f9999413da1ee694
skd: Fix incomplete cleanup of MSI-X interrupt

When enabling MSI-X interrupts fails due to lack of memory
the call to pci_disable_msix() is missed and the device is
left with MSI-X interrupts enabled while the driver assumes
otherwise. This update fixes the described misbehaviour and
cleans up the code of skd_release_msix() function.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: linux-pci@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/skd_main.c