* [PATCH] PCI: iproc: Fix a non-compliant kernel-doc
@ 2021-05-19 17:35 Krzysztof Wilczyński
2021-05-19 17:42 ` Randy Dunlap
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Wilczyński @ 2021-05-19 17:35 UTC (permalink / raw)
To: Ray Jui
Cc: Bjorn Helgaas, Lorenzo Pieralisi, Rob Herring, Scott Branden,
bcm-kernel-feedback-list, linux-pci, linux-arm-kernel
Correct a non-compliant kernel-doc at the top of the pcie-iproc-mci.c
file, and resolve build time warning related to kernel-doc:
drivers/pci/controller/pcie-iproc-msi.c:52: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
drivers/pci/controller/pcie-iproc-msi.c:68: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
No change to functionality intended.
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
---
drivers/pci/controller/pcie-iproc-msi.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/pci/controller/pcie-iproc-msi.c b/drivers/pci/controller/pcie-iproc-msi.c
index eede4e8f3f75..65ea83d2abfa 100644
--- a/drivers/pci/controller/pcie-iproc-msi.c
+++ b/drivers/pci/controller/pcie-iproc-msi.c
@@ -49,14 +49,14 @@ enum iproc_msi_reg {
struct iproc_msi;
/**
- * iProc MSI group
- *
- * One MSI group is allocated per GIC interrupt, serviced by one iProc MSI
- * event queue.
+ * struct iproc_msi_grp - iProc MSI group
*
* @msi: pointer to iProc MSI data
* @gic_irq: GIC interrupt
* @eq: Event queue number
+ *
+ * One MSI group is allocated per GIC interrupt, serviced by one iProc MSI
+ * event queue.
*/
struct iproc_msi_grp {
struct iproc_msi *msi;
@@ -65,10 +65,7 @@ struct iproc_msi_grp {
};
/**
- * iProc event queue based MSI
- *
- * Only meant to be used on platforms without MSI support integrated into the
- * GIC.
+ * struct iproc_msi - iProc event queue based MSI
*
* @pcie: pointer to iProc PCIe data
* @reg_offsets: MSI register offsets
@@ -89,6 +86,9 @@ struct iproc_msi_grp {
* @eq_cpu: pointer to allocated memory region for MSI event queues
* @eq_dma: DMA address of MSI event queues
* @msi_addr: MSI address
+ *
+ * Only meant to be used on platforms without MSI support integrated into the
+ * GIC.
*/
struct iproc_msi {
struct iproc_pcie *pcie;
--
2.31.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] PCI: iproc: Fix a non-compliant kernel-doc
2021-05-19 17:35 [PATCH] PCI: iproc: Fix a non-compliant kernel-doc Krzysztof Wilczyński
@ 2021-05-19 17:42 ` Randy Dunlap
2021-05-19 18:13 ` Krzysztof Wilczyński
0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2021-05-19 17:42 UTC (permalink / raw)
To: Krzysztof Wilczyński, Ray Jui
Cc: Bjorn Helgaas, Lorenzo Pieralisi, Rob Herring, Scott Branden,
bcm-kernel-feedback-list, linux-pci, linux-arm-kernel
On 5/19/21 10:35 AM, Krzysztof Wilczyński wrote:
> Correct a non-compliant kernel-doc at the top of the pcie-iproc-mci.c
> file, and resolve build time warning related to kernel-doc:
>
> drivers/pci/controller/pcie-iproc-msi.c:52: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
> drivers/pci/controller/pcie-iproc-msi.c:68: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
>
> No change to functionality intended.
>
> Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> drivers/pci/controller/pcie-iproc-msi.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/pci/controller/pcie-iproc-msi.c b/drivers/pci/controller/pcie-iproc-msi.c
> index eede4e8f3f75..65ea83d2abfa 100644
> --- a/drivers/pci/controller/pcie-iproc-msi.c
> +++ b/drivers/pci/controller/pcie-iproc-msi.c
> @@ -49,14 +49,14 @@ enum iproc_msi_reg {
> struct iproc_msi;
>
> /**
> - * iProc MSI group
> - *
> - * One MSI group is allocated per GIC interrupt, serviced by one iProc MSI
> - * event queue.
> + * struct iproc_msi_grp - iProc MSI group
> *
> * @msi: pointer to iProc MSI data
> * @gic_irq: GIC interrupt
> * @eq: Event queue number
> + *
> + * One MSI group is allocated per GIC interrupt, serviced by one iProc MSI
> + * event queue.
> */
> struct iproc_msi_grp {
> struct iproc_msi *msi;
> @@ -65,10 +65,7 @@ struct iproc_msi_grp {
> };
>
> /**
> - * iProc event queue based MSI
> - *
> - * Only meant to be used on platforms without MSI support integrated into the
> - * GIC.
> + * struct iproc_msi - iProc event queue based MSI
> *
> * @pcie: pointer to iProc PCIe data
> * @reg_offsets: MSI register offsets
> @@ -89,6 +86,9 @@ struct iproc_msi_grp {
> * @eq_cpu: pointer to allocated memory region for MSI event queues
> * @eq_dma: DMA address of MSI event queues
> * @msi_addr: MSI address
> + *
> + * Only meant to be used on platforms without MSI support integrated into the
> + * GIC.
> */
> struct iproc_msi {
> struct iproc_pcie *pcie;
>
--
~Randy
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PCI: iproc: Fix a non-compliant kernel-doc
2021-05-19 17:42 ` Randy Dunlap
@ 2021-05-19 18:13 ` Krzysztof Wilczyński
0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Wilczyński @ 2021-05-19 18:13 UTC (permalink / raw)
To: Randy Dunlap
Cc: Ray Jui, Bjorn Helgaas, Lorenzo Pieralisi, Rob Herring,
Scott Branden, bcm-kernel-feedback-list, linux-pci,
linux-arm-kernel
Hi Randy,
[...]
> Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
>
> Thanks.
Thank you for the review! I am going to send v2 as I have noticed a few
other places where the kernel-doc is not formatted correctly, so that we
can resolve all of these at once, hopefully.
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-19 18:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-19 17:35 [PATCH] PCI: iproc: Fix a non-compliant kernel-doc Krzysztof Wilczyński
2021-05-19 17:42 ` Randy Dunlap
2021-05-19 18:13 ` Krzysztof Wilczyński
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox