mtd: rawnand: marvell: Minor documentation correction
PATCH 1/1 mtd: rawnand: marvell: Minor documentation correction
Kernel test robot throws below warning -> drivers/mtd/nand/raw/marvell_nand.c:454: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
Minor documentation correction.
--- drivers/mtd/nand/raw/marvell_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/nand/raw/marvell_nand.c +1 -1
@@ -451,7 +451,7 @@ struct marvell_nfc_timings { };/** -* Derives a duration in numbers of clock cycles. +* TO_CYCLES*() - Derives a duration in numbers of clock cycles. * * @ps: Duration in pico-seconds * @period_ns: Clock period in nano-seconds
Signature · 1 line
1.9.1
Quoted 19 lines · Souptick Joarder
Kernel test robot throws below warning ->
drivers/mtd/nand/raw/marvell_nand.c:454: warning: This comment starts with '/**', but isn't a kernel-doc comment. ReferDocumentation/doc-guide/kernel-doc.rstMinor documentation correction.
Reported-by kernel test robot <[email protected]>Signed-off-by Souptick Joarder <[email protected]>Cc Randy Dunlap <[email protected]>--- drivers/mtd/nand/raw/marvell_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mtd/nand/raw/marvell_nand.c +0
-0
drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc_timings { · line 454
Quoted 5 lines
drivers/mtd/nand/raw/marvell_nand.c +1
-1@@ -451,7 +451,7 @@ struct marvell_nfc_timings { };/** -* Derives a duration in numbers of clock cycles. +* TO_CYCLES*() - Derives a duration in numbers of clock cycles.
Hi--
Did you test that? I would be surprised if kernel-doc stays quiet with that change.
[testing]
Yep, kernel-doc doesn't like to see that '*' there. That doesn't work.
Quoted 4 lines
drivers/mtd/nand/raw/marvell_nand.c +0
-0* * @ps: Duration in pico-seconds * @period_ns: Clock period in nano-seconds
Signature · 1 line
~Randy
Quoted 23 lines · Randy Dunlap
Quoted 21 lines · Souptick Joarder
Kernel test robot throws below warning ->
drivers/mtd/nand/raw/marvell_nand.c:454: warning: This comment starts with '/**', but isn't a kernel-doc comment. ReferDocumentation/doc-guide/kernel-doc.rstMinor documentation correction.
Reported-by kernel test robot <[email protected]>Signed-off-by Souptick Joarder <[email protected]>Cc Randy Dunlap <[email protected]>--- drivers/mtd/nand/raw/marvell_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/mtd/nand/raw/marvell_nand.c +0
-0@@ -451,7 +451,7 @@ struct marvell_nfc_timings { };
Quoted 8 lines
drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc_timings { · line 454
Quoted 3 lines
drivers/mtd/nand/raw/marvell_nand.c +1
-1/** -* Derives a duration in numbers of clock cycles. +* TO_CYCLES*() - Derives a duration in numbers of clock cycles. Hi--
Did you test that? I would be surprised if kernel-doc stays quiet with that change.
Sorry, I missed this thread. yes it's wrong.
Reason -> I posted the wrong patch.
I will correct it in v2.
Quoted 15 lines
[testing]
Yep, kernel-doc doesn't like to see that '*' there. That doesn't work.
drivers/mtd/nand/raw/marvell_nand.c struct marvell_nfc_timings { · line 457
Quoted 4 lines
drivers/mtd/nand/raw/marvell_nand.c +0
-0* * @ps: Duration in pico-seconds * @period_ns: Clock period in nano-seconds --
~Randy