On 3/19/2019 4:14 AM, 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
---
drivers/thunderbolt/switch.c | 15 +++
1 file
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
Applied, thanks!
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
---
drivers/thunderbolt/switch.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff
3 matches
Mail list logo