Re: [PATCH v3] thunderbolt: Fix to check the return value of kmemdup
From: Mika Westerberg
Date: Thu Mar 28 2019 - 04:35:54 EST
On Mon, Mar 25, 2019 at 04:25:22PM -0500, Aditya Pakki wrote:
> uuid in add_switch is allocted via kmemdup which can fail. The patch
> logs the error and cleans up the allocated memory for switch.
>
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>
Applied, thanks!