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

From: Mika Westerberg
Date: Fri Mar 22 2019 - 06:25:14 EST


On Wed, Mar 20, 2019 at 10:57:54AM -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!