diff options
author | Bob Copeland <me@bobcopeland.com> | 2015-05-29 00:44:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-29 03:25:18 +0200 |
commit | 3a281f946640542a7a7372f436e101ee1fbc4c97 (patch) | |
tree | 9a7daf596ddab002528fac2fa2f5b5b4e9eb033f /drivers/regulator/da9063-regulator.c | |
parent | fs, omfs: add NULL terminator in the end up the token list (diff) | |
download | linux-3a281f946640542a7a7372f436e101ee1fbc4c97.tar.xz linux-3a281f946640542a7a7372f436e101ee1fbc4c97.zip |
omfs: set error return when d_make_root() fails
A static checker found the following issue in the error path for
omfs_fill_super:
fs/omfs/inode.c:552 omfs_fill_super()
warn: missing error code here? 'd_make_root()' failed. 'ret' = '0'
Fix by returning -ENOMEM in this case.
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/regulator/da9063-regulator.c')
0 files changed, 0 insertions, 0 deletions