Re: [PATCH] PCI: Expand documentation for pci_add_dma_alias()

2018-05-23 Thread Alex Williamson
On Wed, 23 May 2018 15:07:38 -0600 Logan Gunthorpe wrote: > Seeing there's been some confusion about the use of pci_add_dma_alias(), > expand the comment to describe why it must be called early and how > early it must be called. > > Also, expand on the purpose of this function and common reasons

[PATCH] PCI: Expand documentation for pci_add_dma_alias()

2018-05-23 Thread Logan Gunthorpe
Seeing there's been some confusion about the use of pci_add_dma_alias(), expand the comment to describe why it must be called early and how early it must be called. Also, expand on the purpose of this function and common reasons it would be used. Signed-off-by: Logan Gunthorpe Cc: Bjorn Helgaas