Staging: octeon: Fix line ending with '('
authorSumitra Sharma <sumitraartsy@gmail.com>
Fri, 17 Mar 2023 05:24:55 +0000 (22:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:14:46 +0000 (08:14 +0100)
Since the coding style limited the code to 80 columns per line which caused
splitting the function header into two lines resulted in the first line
ending with a '('. This caused the checkpatch error.

Place the function parameters immediately after '(' in a single
line to align the function header.

Signed-off-by: Sumitra Sharma <sumitraartsy@gmail.com>
Link: https://lore.kernel.org/r/20230317052455.GA83442@sumitra.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/octeon-stubs.h

index 7a02e59e283fbae84f49af366616a4e13ea24f8a..3e7b92cd2e35e69ad2e43429cb7068c83ea867b9 100644 (file)
@@ -1372,9 +1372,7 @@ static inline void cvmx_fau_async_fetch_and_add32(uint64_t scraddr,
                                                  int32_t value)
 { }
 
-static inline union cvmx_gmxx_rxx_rx_inbnd cvmx_spi4000_check_speed(
-       int interface,
-       int port)
+static inline union cvmx_gmxx_rxx_rx_inbnd cvmx_spi4000_check_speed(int interface, int port)
 {
        union cvmx_gmxx_rxx_rx_inbnd r;