[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190710204518.16814-1-brnkv.i1@gmail.com>
Date: Wed, 10 Jul 2019 23:45:18 +0300
From: Ivan Bornyakov <brnkv.i1@...il.com>
To: devel@...verdev.osuosl.org
Cc: linux-kernel@...r.kernel.org, gregkh@...uxfoundation.org,
benchan@...omium.org, toddpoynor@...gle.com, rspringer@...gle.com,
Ivan Bornyakov <brnkv.i1@...il.com>
Subject: [PATCH] staging: gasket: apex: fix copy-paste typo
In sysfs_show() case-branches ATTR_KERNEL_HIB_PAGE_TABLE_SIZE and
ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE do the same. It looks like
copy-paste mistake.
Signed-off-by: Ivan Bornyakov <brnkv.i1@...il.com>
---
drivers/staging/gasket/apex_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/gasket/apex_driver.c b/drivers/staging/gasket/apex_driver.c
index 2be45ee9d061..464648ee2036 100644
--- a/drivers/staging/gasket/apex_driver.c
+++ b/drivers/staging/gasket/apex_driver.c
@@ -532,7 +532,7 @@ static ssize_t sysfs_show(struct device *device, struct device_attribute *attr,
break;
case ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE:
ret = scnprintf(buf, PAGE_SIZE, "%u\n",
- gasket_page_table_num_entries(
+ gasket_page_table_num_simple_entries(
gasket_dev->page_table[0]));
break;
case ATTR_KERNEL_HIB_NUM_ACTIVE_PAGES:
--
2.21.0
Powered by blists - more mailing lists