diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-08-08 17:22:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-08 18:57:25 -0400 |
commit | 31d92e55198d4ec32862aea9441de46a13b33ed8 (patch) | |
tree | 54cdebd2f1ea6b67910fe09abf791c308534e673 /fs/cramfs/uncompress.c | |
parent | 4f21e1ea09e1e337604f235a22ec2493ae1bd1db (diff) |
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.c | 2 |
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) | |||
59 | { | 59 | { |
60 | if (!initialized++) { | 60 | if (!initialized++) { |
61 | stream.workspace = vmalloc(zlib_inflate_workspacesize()); | 61 | stream.workspace = vmalloc(zlib_inflate_workspacesize()); |
62 | if ( !stream.workspace ) { | 62 | if (!stream.workspace) { |
63 | initialized = 0; | 63 | initialized = 0; |
64 | return -ENOMEM; | 64 | return -ENOMEM; |
65 | } | 65 | } |