* [PATCH] staging: fieldbus: anybus: reframe comment to avoid warning
@ 2021-10-29 13:27 Ajith P V
2021-10-31 15:24 ` Sven Van Asbroeck
0 siblings, 1 reply; 2+ messages in thread
From: Ajith P V @ 2021-10-29 13:27 UTC (permalink / raw)
To: TheSven73; +Cc: gregkh, linux-staging, linux-kernel, Ajith P V
host.c file comment produce warning with checkpatch as below:
WARNING: Possible repeated word: 'interrupt'
Reframe the comment into bullet points or steps avoid this warning.
Signed-off-by: Ajith P V <ajithpv.linux@gmail.com>
---
drivers/staging/fieldbus/anybuss/host.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/fieldbus/anybuss/host.c b/drivers/staging/fieldbus/anybuss/host.c
index 8a75f6642c78..a344410e48fe 100644
--- a/drivers/staging/fieldbus/anybuss/host.c
+++ b/drivers/staging/fieldbus/anybuss/host.c
@@ -1318,11 +1318,11 @@ anybuss_host_common_probe(struct device *dev,
}
/*
* startup sequence:
- * perform dummy IND_AB read to prevent false 'init done' irq
+ * a) perform dummy IND_AB read to prevent false 'init done' irq
* (already done by test_dpram() above)
- * release reset
- * wait for first interrupt
- * interrupt came in: ready to go !
+ * b) release reset
+ * c) wait for first interrupt
+ * d) interrupt came in: ready to go !
*/
reset_deassert(cd);
if (!wait_for_completion_timeout(&cd->card_boot, TIMEOUT)) {
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: fieldbus: anybus: reframe comment to avoid warning
2021-10-29 13:27 [PATCH] staging: fieldbus: anybus: reframe comment to avoid warning Ajith P V
@ 2021-10-31 15:24 ` Sven Van Asbroeck
0 siblings, 0 replies; 2+ messages in thread
From: Sven Van Asbroeck @ 2021-10-31 15:24 UTC (permalink / raw)
To: Ajith P V; +Cc: Greg KH, linux-staging, Linux Kernel Mailing List
On Fri, Oct 29, 2021 at 9:28 AM Ajith P V <ajithpv.linux@gmail.com> wrote:
>
> host.c file comment produce warning with checkpatch as below:
> WARNING: Possible repeated word: 'interrupt'
> Reframe the comment into bullet points or steps avoid this warning.
>
Looks good to me.
Acked-by: Sven Van Asbroeck <TheSven73@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-31 15:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 13:27 [PATCH] staging: fieldbus: anybus: reframe comment to avoid warning Ajith P V
2021-10-31 15:24 ` Sven Van Asbroeck
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).