lkml.org 
[lkml]   [2019]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] staging: gasket: gasket_ioctl: Remove unnecessary line-breaks in funtion signature
	This patch fix the function signature for trace_gasket_ioctl_page_table_data
to avoid the checkpatch.pl warning:

CHECK: Lines should not end with a '('

Signed-off-by: Valery Ivanov <ivalery111@gmail.com>
---
drivers/staging/gasket/gasket_ioctl.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/gasket/gasket_ioctl.c b/drivers/staging/gasket/gasket_ioctl.c
index 240f9bb..55cb6b1 100644
--- a/drivers/staging/gasket/gasket_ioctl.c
+++ b/drivers/staging/gasket/gasket_ioctl.c
@@ -54,9 +54,10 @@ static int gasket_read_page_table_size(struct gasket_dev *gasket_dev,
ibuf.size = gasket_page_table_num_entries(
gasket_dev->page_table[ibuf.page_table_index]);

- trace_gasket_ioctl_page_table_data(
- ibuf.page_table_index, ibuf.size, ibuf.host_address,
- ibuf.device_address);
+ trace_gasket_ioctl_page_table_data(ibuf.page_table_index,
+ ibuf.size,
+ ibuf.host_address,
+ ibuf.device_address);

if (copy_to_user(argp, &ibuf, sizeof(ibuf)))
return -EFAULT;
--
1.8.3.1
\
 
 \ /
  Last update: 2019-11-06 19:08    [W:0.027 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site