Patch "dmaengine: hisilicon: Fix build error without PCI_MSI" has been added to the 5.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    dmaengine: hisilicon: Fix build error without PCI_MSI

to the 5.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     dmaengine-hisilicon-fix-build-error-without-pci_msi.patch
and it can be found in the queue-5.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit e772320e659bee2973122f050debcea9819ceb6f
Author: YueHaibing <yuehaibing@xxxxxxxxxx>
Date:   Sat Mar 28 19:41:33 2020 +0800

    dmaengine: hisilicon: Fix build error without PCI_MSI
    
    commit ae148b43516d90756ff8255925fb7df142b0c76e upstream.
    
    If PCI_MSI is not set, building fais:
    
    drivers/dma/hisi_dma.c: In function â??hisi_dma_free_irq_vectorsâ??:
    drivers/dma/hisi_dma.c:138:2: error: implicit declaration of function â??pci_free_irq_vectorsâ??;
     did you mean â??pci_alloc_irq_vectorsâ??? [-Werror=implicit-function-declaration]
      pci_free_irq_vectors(data);
      ^~~~~~~~~~~~~~~~~~~~
    
    Make HISI_DMA depends on PCI_MSI to fix this.
    
    Fixes: e9f08b65250d ("dmaengine: hisilicon: Add Kunpeng DMA engine support")
    Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20200328114133.17560-1-yuehaibing@xxxxxxxxxx
    Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 5142da401db3f..c7e1dfe81d1e6 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -241,7 +241,8 @@ config FSL_RAID
 
 config HISI_DMA
 	tristate "HiSilicon DMA Engine support"
-	depends on ARM64 || (COMPILE_TEST && PCI_MSI)
+	depends on ARM64 || COMPILE_TEST
+	depends on PCI_MSI
 	select DMA_ENGINE
 	select DMA_VIRTUAL_CHANNELS
 	help



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux