linux/drivers/pci/endpoint
Li Chen 50b620303a PCI: endpoint: Return -EINVAL when interrupts num is smaller than 1
In pci_epc_set_msi() we should return immediately if there are no
interrupts to configure; update the code to return early.

Link: https://lore.kernel.org/r/CH2PR19MB402491B9E503694DBCAC6005A07C9@CH2PR19MB4024.namprd19.prod.outlook.com
Signed-off-by: Li Chen <lchen@ambarella.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
2022-01-07 10:35:34 +00:00
..
functions Merge branch 'remotes/lorenzo/pci/endpoint' 2021-11-05 11:28:50 -05:00
Kconfig PCI: consolidate PCI config entry in drivers/pci 2018-11-23 11:45:34 +09:00
Makefile PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
pci-ep-cfs.c Merge branch 'remotes/lorenzo/pci/endpoint' 2021-11-05 11:28:50 -05:00
pci-epc-core.c PCI: endpoint: Return -EINVAL when interrupts num is smaller than 1 2022-01-07 10:35:34 +00:00
pci-epc-mem.c PCI: Fix kerneldoc warnings 2020-08-05 18:23:14 -05:00
pci-epf-core.c PCI: Correct misspelled and remove duplicated words 2021-10-08 17:14:04 -05:00