diff options
author | Zhihao Cheng <chengzhihao1@huawei.com> | 2021-12-27 06:22:42 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:24:15 +0300 |
commit | ba8260872dd50fc058f7d489794c9c8cf84668fa (patch) | |
tree | 51a3ff972bb3a1491144d8f75f8bd2965fb7400e /sound | |
parent | 666176d0f9bb27977063aa23a8933e479c061918 (diff) | |
download | linux-ba8260872dd50fc058f7d489794c9c8cf84668fa.tar.xz |
ubi: fastmap: Return error code if memory allocation fails in add_aeb()
commit c3c07fc25f37c157fde041b3a0c3dfcb1590cbce upstream.
Abort fastmap scanning and return error code if memory allocation fails
in add_aeb(). Otherwise ubi will get wrong peb statistics information
after scanning.
Fixes: dbb7d2a88d2a7b ("UBI: Add fastmap core")
Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions