Re: [PATCH v4 2/3] PCI: Allow specifying devices using a base bus and path of devfns

From: Randy Dunlap
Date: Fri Jun 22 2018 - 17:34:11 EST


On 06/22/2018 01:50 PM, Logan Gunthorpe wrote:
>
>
> On 22/06/18 02:01 PM, Randy Dunlap wrote:
>>> Thus, we add an option to specify devices in the following format:
>>>
>>> [<domain>:]<bus>:<slot>.<func>[/<slot>.<func>]*
>>
>> Please explain the trailing '*'. I looked thru the code and it doesn't
>> seem to look for it or care.
>
> This was Willy's suggestion and I liked it. It's similar to regular
> expression syntax: the '*' indicating you may have any number of the
> expression repeated in the square brackets.

Oh, OK. I can do that syntax, I just didn't know that this was
using that notation.

Hopefully admins can read it that way.

--
~Randy