diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2018-07-30 10:18:37 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-08-09 16:23:06 -0500 |
commit | 07d8d7e57c28ca9a07dab4efd75dad3a654aeb85 (patch) | |
tree | 53592de54320ccabbfd94f043769cc3881ad0b41 /block/bfq-iosched.h | |
parent | bd2e9567db72e37f7f4b90faa5133bc7365b5f65 (diff) |
PCI: Make specifying PCI devices in kernel parameters reusable
Separate out the code to match a PCI device with a string (typically
originating from a kernel parameter) from the
pci_specified_resource_alignment() function into its own helper function.
While we are at it, this change fixes the kernel style of the function
(fixing a number of long lines and extra parentheses).
Additionally, make the analogous change to the kernel parameter
documentation: Separate the description of how to specify a PCI device
into its own section at the head of the "pci=" parameter.
This patch should have no functional alterations.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
[bhelgaas: use "device" instead of "slot" in documentation since that's the
usual language in the PCI specs]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'block/bfq-iosched.h')
0 files changed, 0 insertions, 0 deletions