[PATCH] staging: octeon: fix parameter alignment in octeon-stubs.h

From: Oscar Alejandro Sánchez Lucero via B4 Relay

Date: Sun Nov 08 2026 - 07:22:32 EST


From: Oscar Alejandro Sánchez Lucero <aleszlucero@xxxxxxxxx>

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@xxxxxxxxx>
---
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@xxxxxxxxx>