[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190906183801.GA2456@volery>
Date: Fri, 6 Sep 2019 20:38:01 +0200
From: volery <sandro@...ery.com>
To: rspringer@...gle.com, toddpoynor@...gle.com, benchan@...omium.org,
gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Fixed parentheses malpractice in apex_driver.c
There were some parentheses at the end of lines, which I took care of.
This is my first patch.
Signed-off-by: Sandro Volery <sandro@...ery.com>
---
drivers/staging/gasket/apex_driver.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/gasket/apex_driver.c b/drivers/staging/gasket/apex_driver.c
index 464648ee2036..78ebd590f877 100644
--- a/drivers/staging/gasket/apex_driver.c
+++ b/drivers/staging/gasket/apex_driver.c
@@ -527,17 +527,20 @@ static ssize_t sysfs_show(struct device *device, struct device_attribute *attr,
switch (type) {
case ATTR_KERNEL_HIB_PAGE_TABLE_SIZE:
ret = scnprintf(buf, PAGE_SIZE, "%u\n",
- gasket_page_table_num_entries(
+ gasket_page_table_num_entries
+ (
gasket_dev->page_table[0]));
break;
case ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE:
ret = scnprintf(buf, PAGE_SIZE, "%u\n",
- gasket_page_table_num_simple_entries(
+ gasket_page_table_num_simple_entries
+ (
gasket_dev->page_table[0]));
break;
case ATTR_KERNEL_HIB_NUM_ACTIVE_PAGES:
ret = scnprintf(buf, PAGE_SIZE, "%u\n",
- gasket_page_table_num_active_pages(
+ gasket_page_table_num_active_pages
+ (
gasket_dev->page_table[0]));
break;
default:
--
2.23.0
Powered by blists - more mailing lists