diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-08-18 11:20:29 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-08-27 07:41:37 +0200 |
commit | 9f55bca2b82a77a3cc3204900db2fc40ab30019e (patch) | |
tree | 8318ff998dc6e31d2ce774181a52e9eabb072815 /drivers/block/brd.c | |
parent | storvsc: Set the error code correctly in failure conditions (diff) | |
download | linux-9f55bca2b82a77a3cc3204900db2fc40ab30019e.tar.xz linux-9f55bca2b82a77a3cc3204900db2fc40ab30019e.zip |
aic94xx: set an error code on failure
We recently did some cleanup here and now the static checkers notice
that there is a missing error code when ioremap() fails. Let's set it
to -ENOMEM.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/block/brd.c')
0 files changed, 0 insertions, 0 deletions