Re: [PATCH net-next] rocker: gaurd against NULL rocker_port when removing ports

2015-06-15 Thread David Miller
From: sfel...@gmail.com Date: Fri, 12 Jun 2015 21:09:44 -0700 > From: Scott Feldman > > The ports array is filled in as ports are probed, but if probing doesn't > finish, we need to stop only those ports that where probed successfully. > Check the ports array for NULL to skip un-probed ports whe

Re: [PATCH net-next] rocker: gaurd against NULL rocker_port when removing ports

2015-06-13 Thread Jiri Pirko
Sat, Jun 13, 2015 at 06:09:44AM CEST, sfel...@gmail.com wrote: >From: Scott Feldman > >The ports array is filled in as ports are probed, but if probing doesn't >finish, we need to stop only those ports that where probed successfully. >Check the ports array for NULL to skip un-probed ports when sto

[PATCH net-next] rocker: gaurd against NULL rocker_port when removing ports

2015-06-12 Thread sfeldma
From: Scott Feldman The ports array is filled in as ports are probed, but if probing doesn't finish, we need to stop only those ports that where probed successfully. Check the ports array for NULL to skip un-probed ports when stopping. Signed-off-by: Scott Feldman --- drivers/net/ethernet/rock