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

2019-08-03 Thread Ramon Fried
On Sat, Aug 3, 2019 at 4:57 AM 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 Spelling. > made the determination that this NULL is possible. > > Signed-off-by: Nevo Hed > ---

[U-Boot] [PATCH v2 4/6] 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(+), 1