Re: [v3] thunderbolt: Fix to check the return value of kmemdup

From: Mika Westerberg
Date: Fri Oct 11 2019 - 10:42:22 EST


On Fri, Oct 11, 2019 at 04:13:22PM +0200, Markus Elfring wrote:
> Would you like to reconsider also the addition of the function call
> âtb_sw_warn(sw, "cannot allocate memory for switch\n")â?

For that I already have a patch as part of my USB4 support v2 series.