Re: [U-Boot] [PATCH 4/7] net: mvpp2: no deref null

2019-08-14 Thread Joe Hershberger
On Fri, Aug 2, 2019 at 12:54 PM wrote: > > From: Nevo Hed > > phy_dev ptr is set from return of phy_connect() and is used before > test to see if NULL. Obviously since the test already sxists someoen > made the determination that this NULL is possible. > > Signed-off-by: Nevo Hed > --- > > dri

[U-Boot] [PATCH 4/7] net: mvpp2: no deref null

2019-08-02 Thread nhed+uboot
From: Nevo Hed phy_dev ptr is set from return of phy_connect() and is used before test to see if NULL. Obviously since the test already sxists someoen made the determination that this NULL is possible. Signed-off-by: Nevo Hed --- drivers/net/mvpp2.c | 3 ++- 1 file changed, 2 insertions(+),