diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-08 04:19:13 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2021-05-10 09:42:25 +0200 |
commit | dbc03e81586fc33e4945263fd6e09e22eb4b980f (patch) | |
tree | abb84c42576390514654c5244695bdd7ff46fba2 /arch/arm/xen/mm.c | |
parent | xen/gntdev: fix gntdev_mmap() error exit path (diff) | |
download | linux-dbc03e81586fc33e4945263fd6e09e22eb4b980f.tar.xz linux-dbc03e81586fc33e4945263fd6e09e22eb4b980f.zip |
xen/unpopulated-alloc: fix error return code in fill_list()
Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in this function.
Fixes: a4574f63edc6 ("mm/memremap_pages: convert to 'struct range'")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210508021913.1727-1-thunder.leizhen@huawei.com
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/arm/xen/mm.c')
0 files changed, 0 insertions, 0 deletions