]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: davinci_emac: fix NULL check after pointer dereference
authorVishwas Srivastava <vishu.kernel@gmail.com>
Tue, 26 Jan 2016 07:16:42 +0000 (12:46 +0530)
committerAnatolij Gustschin <agust@denx.de>
Sat, 6 Feb 2016 15:39:31 +0000 (16:39 +0100)
commit2300184f702656b72394e458bf15f7aaba8af892
tree72c09dfd72d37919df07769bd54b90db8d70fe6c
parent1a9115ecfecf8713de077a68e6c8f599a55fc759
net: davinci_emac: fix NULL check after pointer dereference

NULL check is made after the pointer dereference. This patch
fixes this issue.

Signed-off-by: Vishwas Srivastava <vishu.kernel@gmail.com>
CC: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/net/davinci_emac.c