]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: cpsw: Add NULL pointer check
authorFaiz Abbas <faiz_abbas@ti.com>
Mon, 11 Nov 2019 09:52:56 +0000 (15:22 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 3 Dec 2019 13:44:14 +0000 (08:44 -0500)
commitae3ef109c308652d2143019038a49b43917fdf12
tree5abfc43945250a52a7a67f43b245b67e1d5fc38b
parent095764e369ec7e313f6cb45f633b203b4ec622cc
net: cpsw: Add NULL pointer check

Add null pointer check to take care of out of memory errors.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
drivers/net/ti/cpsw.c