summaryrefslogtreecommitdiffstats
path: root/fs/cramfs/uncompress.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 23:22:52 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:25 +0200
commit31d92e55198d4ec32862aea9441de46a13b33ed8 (patch)
tree54cdebd2f1ea6b67910fe09abf791c308534e673 /fs/cramfs/uncompress.c
parentfs/cramfs: use pr_fmt (diff)
downloadlinux-31d92e55198d4ec32862aea9441de46a13b33ed8.tar.xz
linux-31d92e55198d4ec32862aea9441de46a13b33ed8.zip
fs/cramfs: code clean-up
Fixes some checkpatch errors/warnings: WARNING: Missing a blank line after declarations ERROR: spaces required around that '=' (ctx:VxV) ERROR: "foo * bar" should be "foo *bar" ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: "Theodore Ts'o" <tytso@mit.edu> Cc: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/cramfs/uncompress.c')
-rw-r--r--fs/cramfs/uncompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cramfs/uncompress.c b/fs/cramfs/uncompress.c
index b7f030ba316d..ec4f1d4fdad0 100644
--- a/fs/cramfs/uncompress.c
+++ b/fs/cramfs/uncompress.c
@@ -59,7 +59,7 @@ int cramfs_uncompress_init(void)
{
if (!initialized++) {
stream.workspace = vmalloc(zlib_inflate_workspacesize());
- if ( !stream.workspace ) {
+ if (!stream.workspace) {
initialized = 0;
return -ENOMEM;
}