Re: [PATCH v4 1/3] PCI: Make specifying PCI devices in kernel parameters reusable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 22/06/18 02:05 PM, Randy Dunlap wrote:
> Hi,
> 
> On 06/22/2018 12:43 PM, Logan Gunthorpe wrote:
> 
>> diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
>> index 97acba712e4e..cb999b2a9530 100644
>> --- a/drivers/pci/pci.c
>> +++ b/drivers/pci/pci.c
>> @@ -191,6 +191,92 @@ void __iomem *pci_ioremap_wc_bar(struct pci_dev *pdev, int bar)
>>  EXPORT_SYMBOL_GPL(pci_ioremap_wc_bar);
>>  #endif
>>  
>> +/**
>> + * pci_dev_str_match - test if a string matches a device
>> + * @dev:    the PCI device to test
>> + * @p:      string to match the device against
>> + * @endptr: pointer to the string after the match
>> + *
>> + * Test if a string (typically from a kernel parameter) matches a
>> + * specified. The string may be of one of the following formats:
> 
> "matches a specified."  eh?

Shoot, must have been over edited. Will fix for v5.

Logan



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux