提交 1fddb42c 编写于 作者: T Tim Retout 提交者: Greg Kroah-Hartman

staging: sep: clean up some checkpatch.pl issues

Use consistent spacing in array indexing, and a whitespace fix.
Signed-off-by: NTim Retout <tim@retout.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 fcfd8ac0
......@@ -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 */
......
......@@ -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 \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册