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

2019-08-07 Thread Ramon Fried
On Tue, Aug 6, 2019 at 6:52 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 someone > made the determination that this NULL is possible. > > Signed-off-by: Nevo Hed > --- > driver

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

2019-08-06 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 someone made the determination that this NULL is possible. Signed-off-by: Nevo Hed --- drivers/net/mvpp2.c | 3 ++- 1 file changed, 2 insertions(+), 1