summaryrefslogtreecommitdiff
path: root/fs/fscache/object.c
diff options
context:
space:
mode:
authorAmitoj Kaur Chawla <amitoj1606@gmail.com>2016-02-17 20:33:26 +0530
committerDavid S. Miller <davem@davemloft.net>2016-02-18 14:58:47 -0500
commita09f4af177d2a5b7dc424aba6ba808f4a674ce81 (patch)
tree9233aa47dcf8d8b512eab13565bd0ce711600446 /fs/fscache/object.c
parenta813104d923339144078939175faf4e66aca19b4 (diff)
lance: Return correct error code
Failure of kzalloc should cause the enclosing function to return -ENOMEM, not -ENODEV. Additionally, removed the following checkpatch warnings: ERROR: spaces required around that '==' (ctx:VxV) ERROR: space required before the open parenthesis '(' CHECK: Comparison to NULL could be written "!lp" Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/fscache/object.c')
0 files changed, 0 insertions, 0 deletions