[dm-devel] [PATCH V4 06/14] kpartx: use xmalloc to instead of malloc in main func
Martin Wilck
mwilck at suse.com
Thu Sep 10 16:20:21 UTC 2020
On Thu, 2020-09-10 at 18:50 +0800, lixiaokeng wrote:
> In main func of kpartx.c, we should check return value of
> malloc before using it. So we use xmalloc to instead of
> malloc.
>
> Signed-off-by: Zhiqiang Liu <liuzhiqiang26 at huawei.com>
> Signed-off-by: Lixiaokeng <lixiaokeng at huawei.com>
Reviewed-by: Martin Wilck <mwilck at suse.com>
More information about the dm-devel
mailing list