Skip to contentSkip to conversation

staging: sep: clean up some checkpatch.pl issues

PATCH New Tim Retout 1 participant 1 message May 29, 2011 Staging

lore
Share & tools
lore

Tim Retout

author
#0 lore raw

PATCH 1/1 staging: sep: clean up some checkpatch.pl issues

Use consistent spacing in array indexing, and a whitespace fix.

---
 drivers/staging/sep/sep_driver.c        |    4 ++--
 drivers/staging/sep/sep_driver_config.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/sep/sep_driver.c +2 -2
index 52342c1..be8594e 100644
@@ -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 */
drivers/staging/sep/sep_driver_config.h +1 -1
index 1033425..d6bfd24 100644
@@ -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 \
Signature · 1 line
1.7.4.1