mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] staging: octeon: fix parameter alignment in octeon-stubs.h
@ 2026-11-08 12:22 Oscar Alejandro Sánchez Lucero via B4 Relay
  0 siblings, 0 replies; 2+ messages in thread
From: Oscar Alejandro Sánchez Lucero via B4 Relay @ 2026-11-08 12:22 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-staging, linux-kernel, Oscar Alejandro Sánchez Lucero

From: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>

Wrap cvmx_pko_send_packet_finish() declaration to align parameters
with the opening parenthesis while keeping line lengths within limits.

Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
---
This patch improves human readability and code style consistency across the 
stub declarations of the Cavium Octeon network driver.

1. Wrap and properly indent cvmx_pko_send_packet_finish() parameters to 
   align cleanly with the function's opening parenthesis.

Oscar Alejandro Sánchez Lucero (1):
  staging: octeon: fix parameter alignment in octeon-stubs.h
---
 drivers/staging/octeon/octeon-stubs.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h
index 9c1968b7e2d1..7fcafabdc78b 100644
--- a/drivers/staging/octeon/octeon-stubs.h
+++ b/drivers/staging/octeon/octeon-stubs.h
@@ -1386,9 +1386,11 @@ static inline void cvmx_pko_send_packet_prepare(u64 port, u64 queue,
 						enum cvmx_pko_lock use_locking)
 { }
 
-static inline enum cvmx_pko_status cvmx_pko_send_packet_finish(u64 port,
-		u64 queue, union cvmx_pko_command_word0 pko_command,
-		union cvmx_buf_ptr packet, enum cvmx_pko_lock use_locking)
+static inline enum cvmx_pko_status
+cvmx_pko_send_packet_finish(u64 port, u64 queue,
+			    union cvmx_pko_command_word0 pko_command,
+			    union cvmx_buf_ptr packet,
+			    enum cvmx_pko_lock use_locking)
 {
 	return 0;
 }

---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
change-id: 20261108-octeon-stubs-alignment-v1-ec6892de7bb6

Best regards,
-- 
Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>



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

* [PATCH] staging: octeon: fix parameter alignment in octeon-stubs.h
@ 2026-11-07  5:55 Oscar Alejandro Sánchez Lucero via B4 Relay
  0 siblings, 0 replies; 2+ messages in thread
From: Oscar Alejandro Sánchez Lucero via B4 Relay @ 2026-11-07  5:55 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: linux-staging, linux-kernel, Oscar Alejandro Sánchez Lucero

From: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>

Wrap cvmx_pko_send_packet_finish() declaration to align parameters
with the opening parenthesis while keeping line lengths within limits.

Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
---
 drivers/staging/octeon/octeon-stubs.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/octeon/octeon-stubs.h b/drivers/staging/octeon/octeon-stubs.h
index 9c1968b7e2d1..7fcafabdc78b 100644
--- a/drivers/staging/octeon/octeon-stubs.h
+++ b/drivers/staging/octeon/octeon-stubs.h
@@ -1386,9 +1386,11 @@ static inline void cvmx_pko_send_packet_prepare(u64 port, u64 queue,
 						enum cvmx_pko_lock use_locking)
 { }
 
-static inline enum cvmx_pko_status cvmx_pko_send_packet_finish(u64 port,
-		u64 queue, union cvmx_pko_command_word0 pko_command,
-		union cvmx_buf_ptr packet, enum cvmx_pko_lock use_locking)
+static inline enum cvmx_pko_status
+cvmx_pko_send_packet_finish(u64 port, u64 queue,
+			    union cvmx_pko_command_word0 pko_command,
+			    union cvmx_buf_ptr packet,
+			    enum cvmx_pko_lock use_locking)
 {
 	return 0;
 }

---
base-commit: ddfe51b0a0f5dc9e415cc2c8ad8db17532dd426b
change-id: 20261106-octeon-stubs-align-0997c618d732

Best regards,
-- 
Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>



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

end of thread, other threads:[~2026-11-08 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-08 12:22 [PATCH] staging: octeon: fix parameter alignment in octeon-stubs.h Oscar Alejandro Sánchez Lucero via B4 Relay
  -- strict thread matches above, loose matches on Subject: below --
2026-11-07  5:55 Oscar Alejandro Sánchez Lucero via B4 Relay

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

all inboxes | Powered by JetHome®