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@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20190710204518.16814-1-brnkv.i1@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ivan Bornyakov 2019-07-10 23:45:18 +03:00 committed by Greg Kroah-Hartman
parent b918d1c270
commit 66665bb997
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ static ssize_t sysfs_show(struct device *device, struct device_attribute *attr,
break; break;
case ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE: case ATTR_KERNEL_HIB_SIMPLE_PAGE_TABLE_SIZE:
ret = scnprintf(buf, PAGE_SIZE, "%u\n", ret = scnprintf(buf, PAGE_SIZE, "%u\n",
gasket_page_table_num_entries( gasket_page_table_num_simple_entries(
gasket_dev->page_table[0])); gasket_dev->page_table[0]));
break; break;
case ATTR_KERNEL_HIB_NUM_ACTIVE_PAGES: case ATTR_KERNEL_HIB_NUM_ACTIVE_PAGES: