Re: [PATCH] thunderbolt: Fix to check for kmemdup failure

From: Mika Westerberg
Date: Wed Mar 20 2019 - 06:45:38 EST


On Mon, Mar 18, 2019 at 05:44:17PM -0500, Aditya Pakki wrote:
> Memory allocated via kmemdup might fail and return a NULL pointer.
> This patch adds a check on the return value of kmemdup and passes the
> error upstream.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>

Applied, thanks!