diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-05 11:26:32 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-07-08 16:42:55 +0300 |
commit | 086c28ab7c5699256aced0049aae9c42f1410313 (patch) | |
tree | 6f2ece46c9c33794d9b06ed2f5808d982d287164 /ipc | |
parent | e5535ff173318775f2c52b7f072bb3abf03b5b0f (diff) | |
download | linux-086c28ab7c5699256aced0049aae9c42f1410313.tar.xz |
intel_th: Fix a resource leak in an error handling path
If an error occurs after calling 'pci_alloc_irq_vectors()',
'pci_free_irq_vectors()' must be called as already done in the remove
function.
Fixes: 7b7036d47c35 ("intel_th: pci: Use MSI interrupt signalling")
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Link: https://lore.kernel.org/r/20220705082637.59979-2-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions