Re: [PATCH] keys: correctly check failed allocation for kmemdup

From: David Howells
Date: Thu Oct 15 2015 - 15:40:57 EST


Insu Yun <wuninsu@xxxxxxxxx> wrote:

> Thanks David. Then it is not a bug.
> It's a pure question.
> Why use different name for allocation and check?
> For me, it is quite confusing.

Either I didn't notice at the time, or the shorter variant is the original.

If you want to give me a patch making it consistent, feel free.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/