Re: [PATCH v2] thunderbolt: xdomain: Fix to check return value of kmemdup
From: Mika Westerberg
Date: Fri Mar 22 2019 - 06:29:57 EST
On Wed, Mar 20, 2019 at 11:47:20AM -0500, Aditya Pakki wrote:
> kmemdup can fail and return a NULL pointer. The patch modifies the
> signature of tb_xdp_schedule_request and passes the failure error upstream.
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>