!1954 zs_malloc: return ERR_PTR on failure
Merge Pull Request from: @ci-robot PR sync from: Jinjiang Tu <tujinjiang@huawei.com> https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/F75QF6TCLSEE5B5P7TR44NDZIQ5SDL46/ 1. zs_malloc() returns error code instead of 0 when error happens. 2. check parameter handle in zs_free(). Hui Zhu (1): zsmalloc: zs_malloc: return ERR_PTR on failure Sergey Senozhatsky (1): mm/zsmalloc: do not attempt to free IS_ERR handle -- 2.25.1 https://gitee.com/openeuler/kernel/issues/I7TWVA Link:https://gitee.com/openeuler/kernel/pulls/1954 Reviewed-by:Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment