[U-Boot] [PATCH v3] net: davinci_emac: fix NULL check after pointer dereference

Anatolij Gustschin agust at denx.de
Sat Feb 6 16:46:08 CET 2016


On Sat,  6 Feb 2016 16:40:59 +0100
Anatolij Gustschin agust at denx.de wrote:

> From: Vishwas Srivastava <vishu.kernel at gmail.com>
> 
> NULL check is made after the pointer dereference. This patch
> fixes this issue.
> 
> Signed-off-by: Vishwas Srivastava <vishu.kernel at gmail.com>
> CC: Joe Hershberger <joe.hershberger at ni.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> Changes in v3:
> 	- slightly edit subject and commit message
>         - format patch properly
> 
>  drivers/net/davinci_emac.c |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied to u-boot-staging, thanks!

--
Anatolij


More information about the U-Boot mailing list