Staging: zcache-main: Fixed Camel Case Issue
PATCH 1/1 Staging: zcache-main: Fixed Camel Case Issue
Fixed a camel case coding style issue.
Signed-off-by Jake Champlin <[email protected]>
--- drivers/staging/zcache/zcache-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/zcache/zcache-main.c +2 -2
@@ -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);
Signature · 8 lines
1.8.1.1 -- Jake Champlin [email protected] 8123742937 <MuttClient>
Quoted 21 lines · Jake Champlin
Fixed a camel case coding style issue.
Signed-off-by Jake Champlin <[email protected]>--- drivers/staging/zcache/zcache-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/zcache/zcache-main.c +1
-1@@ -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,
drivers/staging/zcache/zcache-main.c static int zcache_frontswap_load(unsigned type, pgoff_t offset, · line 1874
Quoted 5 lines
drivers/staging/zcache/zcache-main.c +1
-1@@ -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));
again, that doesn't work. Did you try to build the code?
- cong
Quoted 17 lines
drivers/staging/zcache/zcache-main.c +0
-0if (likely (ind64 == ind)) ret =zcache_get_page (LOCAL_CLIENT , zcache_frontswap_poolid, &oid,iswiz (ind), page);Signature · 13 lines
1.8.1.1 -- Jake Champlin [email protected] 8123742937 <MuttClient> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Quoted 2 lines · Jake Champlin
Fixed a camel case coding style issue.
Stop. It's not OK to break the build.
regards,
dan carpenter