linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pci: fix msi.c kernel-doc warnings
@ 2016-12-28 16:25 Randy Dunlap
  2017-01-11 21:15 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2016-12-28 16:25 UTC (permalink / raw)
  To: linux-pci, Bjorn Helgaas

From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warnings in pci/msi.c:

..//drivers/pci/msi.c:623: warning: No description found for parameter 'affd'
..//drivers/pci/msi.c:623: warning: Excess function parameter 'affinity' description in 'msi_capability_init'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
 drivers/pci/msi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-410-rc1.orig/drivers/pci/msi.c
+++ lnx-410-rc1/drivers/pci/msi.c
@@ -610,7 +610,7 @@ static int msi_verify_entries(struct pci
  * msi_capability_init - configure device's MSI capability structure
  * @dev: pointer to the pci_dev data structure of MSI device function
  * @nvec: number of interrupts to allocate
- * @affinity: flag to indicate cpu irq affinity mask should be set
+ * @affd: description of automatic irq affinity assignments (may be %NULL)
  *
  * Setup the MSI capability structure of the device with the requested
  * number of interrupts.  A return value of zero indicates the successful

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pci: fix msi.c kernel-doc warnings
  2016-12-28 16:25 [PATCH] pci: fix msi.c kernel-doc warnings Randy Dunlap
@ 2017-01-11 21:15 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2017-01-11 21:15 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-pci, Bjorn Helgaas

On Wed, Dec 28, 2016 at 08:25:04AM -0800, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix kernel-doc warnings in pci/msi.c:
> 
> ..//drivers/pci/msi.c:623: warning: No description found for parameter 'affd'
> ..//drivers/pci/msi.c:623: warning: Excess function parameter 'affinity' description in 'msi_capability_init'
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>

Thanks, applied to pci/msi for v4.11 with this changelog:

    PCI/MSI: Fix msi_capability_init() kernel-doc warnings
    
    Fix kernel-doc warnings in pci/msi.c:
    
      ..//drivers/pci/msi.c:623: warning: No description found for parameter 'affd'
      ..//drivers/pci/msi.c:623: warning: Excess function parameter 'affinity' description in 'msi_capability_init'
    
    Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
    Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

> ---
>  drivers/pci/msi.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- lnx-410-rc1.orig/drivers/pci/msi.c
> +++ lnx-410-rc1/drivers/pci/msi.c
> @@ -610,7 +610,7 @@ static int msi_verify_entries(struct pci
>   * msi_capability_init - configure device's MSI capability structure
>   * @dev: pointer to the pci_dev data structure of MSI device function
>   * @nvec: number of interrupts to allocate
> - * @affinity: flag to indicate cpu irq affinity mask should be set
> + * @affd: description of automatic irq affinity assignments (may be %NULL)
>   *
>   * Setup the MSI capability structure of the device with the requested
>   * number of interrupts.  A return value of zero indicates the successful
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-11 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-28 16:25 [PATCH] pci: fix msi.c kernel-doc warnings Randy Dunlap
2017-01-11 21:15 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).