]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
staging: most: fix line ending with '(' in dim2/
authorKhadija Kamran <kamrankhadijadj@gmail.com>
Thu, 23 Mar 2023 19:56:11 +0000 (00:56 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Mar 2023 08:47:27 +0000 (09:47 +0100)
Splitting function header to multiple lines because of 80 characters per
line limit, results in ending the function call line with '('.
This leads to CHECK reported by checkpatch.pl

Move the function parameters right after the '(' in the function call
line. Align the rest of the parameters to the opening parenthesis.

Signed-off-by: Khadija Kamran <kamrankhadijadj@gmail.com>
Link: https://lore.kernel.org/r/ZByu29jb1mE3KOsn@khadija-virtual-machine
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/hal.c

index a5d40b5b138ab1f15593266ebe0716a21de6f210..6abe3ab2b2cf4ce0cd09a438d1e5c32e0cbc05fb 100644 (file)
@@ -346,9 +346,8 @@ static void dim2_clear_ctram(void)
                dim2_clear_ctr(ctr_addr);
 }
 
-static void dim2_configure_channel(
-       u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address, u16 hw_buffer_size,
-       u16 packet_length)
+static void dim2_configure_channel(u8 ch_addr, u8 type, u8 is_tx, u16 dbr_address,
+                                  u16 hw_buffer_size, u16 packet_length)
 {
        dim2_configure_cdt(ch_addr, dbr_address, hw_buffer_size, packet_length);
        dim2_configure_cat(MLB_CAT, ch_addr, type, is_tx ? 1 : 0);