lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130119025640.GA32271@gmail.com>
Date:	Fri, 18 Jan 2013 21:56:44 -0500
From:	Jake Champlin <jake.champlin.27@...il.com>
To:	gregkh@...uxfoundation.org
Cc:	sjening@...ux.vnet.ibm.com, konrad.wilk@...cle.com,
	xiaoguangrong@...ux.vnet.ibm.com, dan.magenheimer@...cle.com,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	jake.champlin.27@...il.com
Subject: [PATCH] Staging: zcache-main: Fixed Camel Case Issue

Fixed a camel case coding style issue.

Signed-off-by: Jake Champlin <jake.champlin.27@...il.com>
---
 drivers/staging/zcache/zcache-main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c
index 52b43b7..95be348 100644
--- a/drivers/staging/zcache/zcache-main.c
+++ b/drivers/staging/zcache/zcache-main.c
@@ -1851,7 +1851,7 @@ static int zcache_frontswap_store(unsigned type, pgoff_t offset,
 	int ret = -1;
 	unsigned long flags;
 
-	BUG_ON(!PageLocked(page));
+	BUG_ON(!page_locked(page));
 	if (likely(ind64 == ind)) {
 		local_irq_save(flags);
 		ret = zcache_put_page(LOCAL_CLIENT, zcache_frontswap_poolid,
@@ -1871,7 +1871,7 @@ static int zcache_frontswap_load(unsigned type, pgoff_t offset,
 	struct tmem_oid oid = oswiz(type, ind);
 	int ret = -1;
 
-	BUG_ON(!PageLocked(page));
+	BUG_ON(!page_locked(page));
 	if (likely(ind64 == ind))
 		ret = zcache_get_page(LOCAL_CLIENT, zcache_frontswap_poolid,
 					&oid, iswiz(ind), page);
-- 
1.8.1.1


-- 
Jake Champlin
jake.champlin.27@...il.com
8123742937
<MuttClient>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ