Arnd Bergmann
f528cd5585
misc: mrvl-cn10k-dpi: add PCI_IOV dependency
...
I found one more missing dependency in the new driver: when building
without CONFIG_PCI_IOV, pci_sriov_configure_simple() cannot be
called directly:
drivers/misc/mrvl_cn10k_dpi.c: In function 'dpi_remove':
include/linux/stddef.h:9:14: error: called object is not a function or function pointer
9 | #define NULL ((void *)0)
| ^
include/linux/pci.h:2416:41: note: in expansion of macro 'NULL'
2416 | #define pci_sriov_configure_simple NULL
| ^~~~
drivers/misc/mrvl_cn10k_dpi.c:652:9: note: in expansion of macro 'pci_sriov_configure_simple'
652 | pci_sriov_configure_simple(pdev, 0);
Add this to the Kconfig file as well.
Fixes: 5f67eef6df ("misc: mrvl-cn10k-dpi: add Octeon CN10K DPI administrative driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
Tested-by: Vamsi Attunuru <vattunuru@marvell.com >
Link: https://lore.kernel.org/r/20240719103858.1292094-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2024-07-31 13:47:27 +02:00
..
2024-07-27 10:14:34 -07:00
2024-07-12 11:31:37 +02:00
2024-07-19 15:55:08 -07:00
2024-07-26 11:04:28 -07:00
2024-07-27 12:26:09 -07:00
2024-07-27 15:28:53 -07:00
2024-07-19 11:57:55 -07:00
2024-07-27 12:46:16 -07:00
2024-07-24 20:59:29 +02:00
2024-07-24 20:59:29 +02:00
2024-07-27 12:46:16 -07:00
2024-07-25 06:53:47 -05:00
2024-07-19 15:55:08 -07:00
2024-07-16 15:54:03 -07:00
2024-07-20 12:41:03 -07:00
2024-07-28 09:33:28 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-21 17:15:46 -07:00
2024-07-28 13:41:14 -07:00
2024-07-25 10:42:22 -07:00
2024-07-27 10:14:34 -07:00
2024-07-25 10:42:22 -07:00
2024-07-31 13:40:00 +02:00
2024-07-27 12:54:06 -07:00
2024-07-28 13:41:14 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-19 15:55:08 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-27 10:53:06 -07:00
2024-07-25 06:53:47 -05:00
2024-07-19 09:59:58 -07:00
2024-07-25 10:42:22 -07:00
2024-07-19 15:55:08 -07:00
2024-07-27 12:39:55 -07:00
2024-07-25 06:53:47 -05:00
2024-07-25 08:05:05 -07:00
2024-07-17 17:51:30 -07:00
2024-07-25 12:58:36 -07:00
2024-07-19 21:25:23 -05:00
2024-07-25 10:42:22 -07:00
2024-07-28 13:41:14 -07:00
2024-07-26 10:26:33 -07:00
2024-07-25 10:42:22 -07:00
2024-07-27 12:46:16 -07:00
2024-07-31 13:47:27 +02:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-28 11:51:51 -07:00
2024-07-28 13:41:14 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-26 08:06:15 -06:00
2024-07-25 10:42:22 -07:00
2024-07-19 09:59:58 -07:00
2024-07-15 18:55:14 +02:00
2024-07-25 12:58:36 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-27 10:14:34 -07:00
2024-07-24 13:11:28 -07:00
2024-07-25 06:53:47 -05:00
2024-07-25 10:42:22 -07:00
2024-07-23 09:38:27 -07:00
2024-07-25 10:42:22 -07:00
2024-07-16 19:28:34 -07:00
2024-07-25 06:53:47 -05:00
2024-07-15 18:20:24 -07:00
2024-07-27 12:27:52 -07:00
2024-07-23 13:41:59 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-26 10:47:53 -07:00
2024-07-11 15:42:03 +02:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-27 12:29:10 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-24 12:40:23 +02:00
2024-07-25 10:42:22 -07:00
2024-07-27 12:46:16 -07:00
2024-07-19 10:56:58 -07:00
2024-07-27 12:46:16 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00
2024-07-19 11:57:55 -07:00
2024-07-21 17:15:46 -07:00
2024-07-20 12:41:03 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:18:35 -07:00
2024-07-25 10:42:22 -07:00
2024-07-25 10:42:22 -07:00