On Sat, Oct 15, 2016 at 8:32 AM, Colin King <colin.k...@canonical.com> wrote:
> From: Colin Ian King <colin.k...@canonical.com>
>
> If devs cannot be allocated then the error exit path jumps to
> a cleanup loop that iterates over a null array of devs which
> is incorrect.  Fix this by jumping instead to the end of the
> function where NULL is returned.
>
> Signed-off-by: Colin Ian King <colin.k...@canonical.com>

Thanks, I've already applied a similar fix from Dan Carpenter.
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to