lkml.org 
[lkml]   [2017]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/3] PCI: Enable PCIe Relaxed Ordering if supported
Hi Ding,

[auto build test WARNING on pci/next]
[cannot apply to v4.12-rc3 next-20170602]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Ding-Tianhong/Add-new-PCI_DEV_FLAGS_NO_RELAXED_ORDERING-flag/20170603-132448
base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-randconfig-x019-201722 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

>> drivers//pci/pci.c:4922:1: warning: "/*" within comment [-Wcomment]
/**


vim +4922 drivers//pci/pci.c

4906 * @dev: PCI device to query
4907 *
4908 * Returns true if relaxed ordering is been set
4909 */
4910 int pcie_get_relaxed_ordering(struct pci_dev *dev)
4911 {
4912 u16 v;
4913
4914 pcie_capability_read_word(dev, PCI_EXP_DEVCTL, &v);
4915
4916 return (v & PCI_EXP_DEVCTL_RELAX_EN) >> 4;
4917 }
4918 EXPORT_SYMBOL(pcie_get_relaxed_ordering);
4919
4920 /**
4921 * pcie_set_mps - set PCI Express maximum payload size
> 4922 /**
4923 * pcie_get_minimum_link - determine minimum link settings of a PCI device
4924 * @dev: PCI device to query
4925 * @speed: storage for minimum speed
4926 * @width: storage for minimum width
4927 *
4928 * This function will walk up the PCI device chain and determine the minimum
4929 * link width and speed of the device.
4930 */

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-06-05 00:16    [W:0.070 / U:3.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site