Skip to contentSkip to conversation

HSI: cmt_speech: unmark comments as kernel-doc

PATCH Superseded Randy Dunlap 2 participants 2 messages Aug 22, 2021 HSI

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HSI: cmt_speech: unmark comments as kernel-doc

Fix build warnings from the kernel test robot:

drivers/hsi/clients/cmt_speech.c:831: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Block until pending data transfers have completed.

Cc Sebastian Reichel <[email protected]>
Cc Aditya Srivastava <[email protected]>
Cc Kai Vehmanen <[email protected]>
---
 drivers/hsi/clients/cmt_speech.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/hsi/clients/cmt_speech.c +2 -2
@@ -827,7 +827,7 @@ static int check_buf_params(struct cs_hs
 	return r;
 }
 
-/**
+/*
  * Block until pending data transfers have completed.
  */
 static int cs_hsi_data_sync(struct cs_hsi_iface *hi)
@@ -850,7 +850,7 @@ static int cs_hsi_data_sync(struct cs_hs
 			r = -ERESTARTSYS;
 			goto out;
 		}
-		/**
+		/*
 		 * prepare_to_wait must be called with hi->lock held
 		 * so that callbacks can check for waitqueue_active()
 		 */
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Randy Dunlap

Fix build warnings from the kernel test robot:

drivers/hsi/clients/cmt_speech.c:831: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
* Block until pending data transfers have completed.

Cc Sebastian Reichel <[email protected]>
Cc Aditya Srivastava <[email protected]>
Cc Kai Vehmanen <[email protected]>

Best regards,
Pavel

Quoted 18 lines
drivers/hsi/clients/cmt_speech.c +2 -2
@@ -827,7 +827,7 @@ static int check_buf_params(struct cs_hs
 	return r;
 }
 
-/**
+/*
  * Block until pending data transfers have completed.
  */
 static int cs_hsi_data_sync(struct cs_hsi_iface *hi)
@@ -850,7 +850,7 @@ static int cs_hsi_data_sync(struct cs_hs
 			r = -ERESTARTSYS;
 			goto out;
 		}
-		/**
+		/*
 		 * prepare_to_wait must be called with hi->lock held
 		 * so that callbacks can check for waitqueue_active()
 		 */
Signature · 1 line
http://www.livejournal.com/~pavelmachek