[dm-devel] [PATCH V4 04/14] multipathd: check MALLOC return value in mpath_pr_event_handler_fn

Martin Wilck mwilck at suse.com
Thu Sep 10 16:19:48 UTC 2020


On Thu, 2020-09-10 at 18:48 +0800, lixiaokeng wrote:
> In  mpath_pr_event_handler_fn, we use MALLOC instead of malloc, and
> check
> the return value of MALLOC. And we delete seting ret when jump to out
> 
> Signed-off-by: Lixiaokeng <lixiaokeng at huawei.com>
> Signed-off-by: Zhiqiang Liu <liuzhiqiang26 at huawei.com>
> Signed-off-by: Linfeilong <linfeilong at huawei.com>

Reviewed-by: Martin Wilck <mwilck at suse.com>





More information about the dm-devel mailing list