From: Jake Champlin <jake.champlin.27@gmail.com>
To: gregkh@linuxfoundation.org
Cc: sjening@linux.vnet.ibm.com, konrad.wilk@oracle.com,
xiaoguangrong@linux.vnet.ibm.com, dan.magenheimer@oracle.com,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
jake.champlin.27@gmail.com
Subject: [PATCH] Staging: zcache-main: Fixed Camel Case Issue
Date: Fri, 18 Jan 2013 21:56:44 -0500 [thread overview]
Message-ID: <20130119025640.GA32271@gmail.com> (raw)
Fixed a camel case coding style issue.
Signed-off-by: Jake Champlin <jake.champlin.27@gmail.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@gmail.com
8123742937
<MuttClient>
next reply other threads:[~2013-01-19 2:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-19 2:56 Jake Champlin [this message]
2013-01-19 3:08 ` [PATCH] Staging: zcache-main: Fixed Camel Case Issue Cong Ding
2013-01-19 10:53 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130119025640.GA32271@gmail.com \
--to=jake.champlin.27@gmail.com \
--cc=dan.magenheimer@oracle.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sjening@linux.vnet.ibm.com \
--cc=xiaoguangrong@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox