Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH] staging: gpib: Convert // comments to kernel-style block comments
@ 2025-01-08  0:27 Sandeep Salwan
  2025-01-08  8:13 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Sandeep Salwan @ 2025-01-08  0:27 UTC (permalink / raw)
  To: gregkh; +Cc: linux-staging, linux-kernel, Sandeep Salwan

This patch replaces several // single-line comments with multiline
block comments in agilent_82350b.c. According to kernel coding style
guidelines, we should prefer /* ... */ over // comments, especially
for multi-line or verbose text. This is purely code cleanup only.

Signed-off-by: Sandeep Salwan <salwansandeep5@gmail.com>
---
 drivers/staging/gpib/agilent_82350b/agilent_82350b.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/gpib/agilent_82350b/agilent_82350b.c b/drivers/staging/gpib/agilent_82350b/agilent_82350b.c
index 53006d0cc79c..3cd01613d067 100644
--- a/drivers/staging/gpib/agilent_82350b/agilent_82350b.c
+++ b/drivers/staging/gpib/agilent_82350b/agilent_82350b.c
@@ -31,8 +31,10 @@ int agilent_82350b_accel_read(gpib_board_t *board, uint8_t *buffer, size_t lengt
 	int i, num_fifo_bytes;
 	//hardware doesn't support checking for end-of-string character when using fifo
 	if (tms_priv->eos_flags & REOS) {
-		//pr_info("ag-rd: using tms9914 read for REOS %x EOS %x\n",tms_priv->eos_flags,
-		// tms_priv->eos);
+		/*
+		 * pr_info("ag-rd: using tms9914 read for REOS %x EOS %x\n",tms_priv->eos_flags,
+		 * tms_priv->eos);
+		 */
 		return tms9914_read(board, tms_priv, buffer, length, end, bytes_read);
 	}
 
-- 
2.47.1


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

end of thread, other threads:[~2025-01-08  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08  0:27 [PATCH] staging: gpib: Convert // comments to kernel-style block comments Sandeep Salwan
2025-01-08  8:13 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox