Skip to content

Commit 3eb5d0f

Browse files
committed
Merge branch 'pci/misc'
- 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
2 parents 90fb1a3 + 9574d57 commit 3eb5d0f

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

drivers/misc/pci_endpoint_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0-only
2-
/**
2+
/*
33
* Host side test driver to test endpoint functionality
44
*
55
* Copyright (C) 2017 Texas Instruments

drivers/pci/controller/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ config PCIE_BRCMSTB
286286

287287
config PCI_HYPERV_INTERFACE
288288
tristate "Hyper-V PCI Interface"
289-
depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI && PCI_MSI
289+
depends on ((X86 && X86_64) || ARM64) && HYPERV && PCI_MSI
290290
help
291291
The Hyper-V PCI Interface is a helper driver allows other drivers to
292292
have a common interface with the Hyper-V PCI frontend driver.

drivers/pci/endpoint/functions/pci-epf-vntb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ static int epf_ntb_mw_bar_init(struct epf_ntb *ntb)
652652
/**
653653
* epf_ntb_mw_bar_clear() - Clear Memory window BARs
654654
* @ntb: NTB device that facilitates communication between HOST and VHOST
655+
* @num_mws: the number of Memory window BARs that to be cleared
655656
*/
656657
static void epf_ntb_mw_bar_clear(struct epf_ntb *ntb, int num_mws)
657658
{

drivers/pci/slot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static struct attribute *pci_slot_default_attrs[] = {
9898
};
9999
ATTRIBUTE_GROUPS(pci_slot_default);
100100

101-
static struct kobj_type pci_slot_ktype = {
101+
static const struct kobj_type pci_slot_ktype = {
102102
.sysfs_ops = &pci_slot_sysfs_ops,
103103
.release = &pci_slot_release,
104104
.default_groups = pci_slot_default_groups,

0 commit comments

Comments
 (0)