Merge branch 'pci/misc'
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Feb 2023 19:47:32 +0000 (13:47 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 22 Feb 2023 19:47:32 +0000 (13:47 -0600)
- Drop bogus kernel-doc marker in pci_endpoint_test.c (Randy Dunlap)

- Fix epf_ntb_mw_bar_clear() kernel-doc (Yang Yingliang)

- Constify struct kobj_type pci_slot_ktype (Thomas Weißschuh)

* pci/misc:
  PCI: hv: Drop duplicate PCI_MSI dependency
  PCI/sysfs: Constify struct kobj_type pci_slot_ktype
  PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc
  misc: pci_endpoint_test: Drop initial kernel-doc marker

drivers/misc/pci_endpoint_test.c
drivers/pci/controller/Kconfig
drivers/pci/endpoint/functions/pci-epf-vntb.c
drivers/pci/slot.c

index e268722..a7244de 100644 (file)
@@ -1,5 +1,5 @@
 // SPDX-License-Identifier: GPL-2.0-only
-/**
+/*
  * Host side test driver to test endpoint functionality
  *
  * Copyright (C) 2017 Texas Instruments
index b4a4d84..0ca6ec9 100644 (file)
@@ -286,7 +286,7 @@ config PCIE_BRCMSTB
 
 config PCI_HYPERV_INTERFACE
        tristate "Hyper-V PCI Interface"
-       depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI && PCI_MSI
+       depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI
        help
          The Hyper-V PCI Interface is a helper driver allows other drivers to
          have a common interface with the Hyper-V PCI frontend driver.
index 04698e7..b7c7a8a 100644 (file)
@@ -652,6 +652,7 @@ err_alloc_mem:
 /**
  * epf_ntb_mw_bar_clear() - Clear Memory window BARs
  * @ntb: NTB device that facilitates communication between HOST and VHOST
+ * @num_mws: the number of Memory window BARs that to be cleared
  */
 static void epf_ntb_mw_bar_clear(struct epf_ntb *ntb, int num_mws)
 {
index a0c6719..0f87cad 100644 (file)
@@ -98,7 +98,7 @@ static struct attribute *pci_slot_default_attrs[] = {
 };
 ATTRIBUTE_GROUPS(pci_slot_default);
 
-static struct kobj_type pci_slot_ktype = {
+static const struct kobj_type pci_slot_ktype = {
        .sysfs_ops = &pci_slot_sysfs_ops,
        .release = &pci_slot_release,
        .default_groups = pci_slot_default_groups,