public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH v2] staging: nvec: fix block comment style in nvec.c
@ 2026-03-09 21:07 Oskar Ray-Frayssinet
  0 siblings, 0 replies; 3+ messages in thread
From: Oskar Ray-Frayssinet @ 2026-03-09 21:07 UTC (permalink / raw)
  To: marvin24, gregkh
  Cc: linux-staging, linux-tegra, linux-kernel, Oskar Ray-Frayssinet

Fix block comment formatting to use * on subsequent lines
and */ on a separate line as required by kernel coding style.

Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@gmail.com>
---
Changes in v2:
- Remove unintentional capitalization change in case comment
 drivers/staging/nvec/nvec.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index e9af66a08448..e70fafc095f2 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -659,8 +659,9 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
 			nvec_tx_set(nvec);
 			to_send = nvec->tx->data[0];
 			nvec->tx->pos = 1;
-			/* delay ACK due to AP20 HW Bug
-			   do not replace by usleep_range */
+			/* Delay ACK due to AP20 HW Bug
+			 * do not replace by usleep_range
+			 */
 			udelay(33);
 		} else if (status == (I2C_SL_IRQ)) {
 			nvec->rx->data[1] = received;
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH v2] staging: nvec: fix block comment style in nvec.c
@ 2026-03-05  1:09 Alexandru Hossu
  2026-03-09 16:41 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandru Hossu @ 2026-03-05  1:09 UTC (permalink / raw)
  To: marvin24
  Cc: gregkh, linux-staging, linux-kernel, linux-tegra, Alexandru Hossu

Fix a multi-line block comment to follow kernel coding style.

Signed-off-by: Alexandru Hossu <hossu.alexandru@gmail.com>
---
v2:
  - Add missing commit description.

 drivers/staging/nvec/nvec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index e9af66a08..0e655f79e 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -660,7 +660,8 @@ static irqreturn_t nvec_interrupt(int irq, void *dev)
 			to_send = nvec->tx->data[0];
 			nvec->tx->pos = 1;
 			/* delay ACK due to AP20 HW Bug
-			   do not replace by usleep_range */
+			 * do not replace by usleep_range
+			 */
 			udelay(33);
 		} else if (status == (I2C_SL_IRQ)) {
 			nvec->rx->data[1] = received;
-- 
2.43.0


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

end of thread, other threads:[~2026-03-09 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-09 21:07 [PATCH v2] staging: nvec: fix block comment style in nvec.c Oskar Ray-Frayssinet
  -- strict thread matches above, loose matches on Subject: below --
2026-03-05  1:09 Alexandru Hossu
2026-03-09 16:41 ` Greg KH

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