public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: nvec: Fix block comment formatting
@ 2026-04-11 13:57 Shyam Sunder Reddy Padira
  2026-04-26 19:01 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Shyam Sunder Reddy Padira @ 2026-04-11 13:57 UTC (permalink / raw)
  To: marvin24, gregkh, linux-tegra, linux-staging, linux-kernel
  Cc: Shyam Sunder Reddy Padira

PLace the closing */ of block comments on a separate line
to follow the coding style.

No functional changes.

Signed-off-by: Shyam Sunder Reddy Padira <shyamsunderreddypadira@gmail.com>
---
 drivers/staging/nvec/nvec.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index e9af66a08448..4799510d2d12 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -659,8 +659,10 @@ 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] 4+ messages in thread
* [PATCH] staging: nvec: fix block comment formatting
@ 2026-03-18 17:06 Hüseyin Can Erdem
  2026-03-30 15:49 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Hüseyin Can Erdem @ 2026-03-18 17:06 UTC (permalink / raw)
  To: marvin24, gregkh
  Cc: ac100, linux-tegra, linux-staging, linux-kernel,
	Hüseyin Can Erdem

The block comment in nvec_interrupt() does not follow the kernel
coding style. Multi-line block comments should have a * at the
beginning of each line, and the closing */ should be on its own
separate line.

Signed-off-by: Hüseyin Can Erdem <erdemhuseyincan09@gmail.com>
---
 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.47.3


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

end of thread, other threads:[~2026-04-27  3:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-11 13:57 [PATCH] staging: nvec: Fix block comment formatting Shyam Sunder Reddy Padira
2026-04-26 19:01 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2026-03-18 17:06 [PATCH] staging: nvec: fix " Hüseyin Can Erdem
2026-03-30 15:49 ` Greg KH

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