]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: sep: clean up some checkpatch.pl issues
authorTim Retout <tim@retout.co.uk>
Sun, 29 May 2011 18:38:32 +0000 (19:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2011 20:23:57 +0000 (13:23 -0700)
Use consistent spacing in array indexing, and a whitespace fix.

Signed-off-by: Tim Retout <tim@retout.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sep/sep_driver.c
drivers/staging/sep/sep_driver_config.h

index 52342c17eaddd797968265dee3762be1a9bfcff4..be8594ecc619ddb595d4300328409a530f21c210 100644 (file)
@@ -1102,9 +1102,9 @@ static int sep_lock_user_pages(struct sep_device *sep,
                        "lli_array[%x].bus_address is "
                        "%08lx, lli_array[%x].block_size is %x\n",
                        num_pages - 1,
-                       (unsigned long)lli_array[num_pages -1].bus_address,
+                       (unsigned long)lli_array[num_pages - 1].bus_address,
                        num_pages - 1,
-                       lli_array[num_pages -1].block_size);
+                       lli_array[num_pages - 1].block_size);
        }
 
        /* Set output params according to the in_out flag */
index 1033425c9c30915a7a51fbdb11f489b8ca90705b..d6bfd24552225879b78c0795434f23f9db0522b7 100644 (file)
@@ -180,7 +180,7 @@ held by the process (struct file) */
 /* offset of the caller id area */
 #define SEP_CALLER_ID_OFFSET_BYTES \
        (SEP_DRIVER_SYSTEM_RAR_MEMORY_OFFSET_IN_BYTES + \
-    SEP_DRIVER_SYSTEM_RAR_MEMORY_SIZE_IN_BYTES)
+       SEP_DRIVER_SYSTEM_RAR_MEMORY_SIZE_IN_BYTES)
 
 /* offset of the DCB area */
 #define SEP_DRIVER_SYSTEM_DCB_MEMORY_OFFSET_IN_BYTES \