Commit 87b42aa3 authored by Sumera Priyadarsini's avatar Sumera Priyadarsini Committed by Greg Kroah-Hartman

staging: gasket: Remove unnecessary line-breaks in function signatures

This patch fixes the function signatures for gasket_read_page_table_size,
gasket_read_simple_page_table_size, gasket_partition_page_table,
gasket_config_coherent_allocator to avoid  the checkpatch.pl warning:

	CHECK: Lines should not end with a '('
Signed-off-by: default avatarSumera Priyadarsini <sylphrenadin@gmail.com>
Link: https://lore.kernel.org/r/20190816213702.32116-1-sylphrenadin@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d819c54
...@@ -39,8 +39,7 @@ static int gasket_set_event_fd(struct gasket_dev *gasket_dev, ...@@ -39,8 +39,7 @@ static int gasket_set_event_fd(struct gasket_dev *gasket_dev,
} }
/* Read the size of the page table. */ /* Read the size of the page table. */
static int gasket_read_page_table_size( static int gasket_read_page_table_size(struct gasket_dev *gasket_dev,
struct gasket_dev *gasket_dev,
struct gasket_page_table_ioctl __user *argp) struct gasket_page_table_ioctl __user *argp)
{ {
int ret = 0; int ret = 0;
...@@ -66,8 +65,7 @@ static int gasket_read_page_table_size( ...@@ -66,8 +65,7 @@ static int gasket_read_page_table_size(
} }
/* Read the size of the simple page table. */ /* Read the size of the simple page table. */
static int gasket_read_simple_page_table_size( static int gasket_read_simple_page_table_size(struct gasket_dev *gasket_dev,
struct gasket_dev *gasket_dev,
struct gasket_page_table_ioctl __user *argp) struct gasket_page_table_ioctl __user *argp)
{ {
int ret = 0; int ret = 0;
...@@ -93,8 +91,7 @@ static int gasket_read_simple_page_table_size( ...@@ -93,8 +91,7 @@ static int gasket_read_simple_page_table_size(
} }
/* Set the boundary between the simple and extended page tables. */ /* Set the boundary between the simple and extended page tables. */
static int gasket_partition_page_table( static int gasket_partition_page_table(struct gasket_dev *gasket_dev,
struct gasket_dev *gasket_dev,
struct gasket_page_table_ioctl __user *argp) struct gasket_page_table_ioctl __user *argp)
{ {
int ret; int ret;
...@@ -185,8 +182,7 @@ static int gasket_unmap_buffers(struct gasket_dev *gasket_dev, ...@@ -185,8 +182,7 @@ static int gasket_unmap_buffers(struct gasket_dev *gasket_dev,
* Reserve structures for coherent allocation, and allocate or free the * Reserve structures for coherent allocation, and allocate or free the
* corresponding memory. * corresponding memory.
*/ */
static int gasket_config_coherent_allocator( static int gasket_config_coherent_allocator(struct gasket_dev *gasket_dev,
struct gasket_dev *gasket_dev,
struct gasket_coherent_alloc_config_ioctl __user *argp) struct gasket_coherent_alloc_config_ioctl __user *argp)
{ {
int ret; int ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment