Re: [PATCH net-next] ibmvnic: Bail from ibmvnic_open if driver is already open

2018-03-12 Thread John Allen
On 03/12/2018 02:01 PM, Andrew Lunn wrote: > On Mon, Mar 12, 2018 at 01:47:51PM -0500, John Allen wrote: >> If the driver is already in the "open" state, don't attempt the procedure >> for opening the driver. >> >> Signed-off-by: John Allen >> --- >> diff --git a/drivers/net/ethernet/ibm/ibmvnic.c

Re: [PATCH net-next] ibmvnic: Bail from ibmvnic_open if driver is already open

2018-03-12 Thread Andrew Lunn
On Mon, Mar 12, 2018 at 01:47:51PM -0500, John Allen wrote: > If the driver is already in the "open" state, don't attempt the procedure > for opening the driver. > > Signed-off-by: John Allen > --- > diff --git a/drivers/net/ethernet/ibm/ibmvnic.c > b/drivers/net/ethernet/ibm/ibmvnic.c > index 7

[PATCH net-next] ibmvnic: Bail from ibmvnic_open if driver is already open

2018-03-12 Thread John Allen
If the driver is already in the "open" state, don't attempt the procedure for opening the driver. Signed-off-by: John Allen --- diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c index 7be4b06..98c4f75 100644 --- a/drivers/net/ethernet/ibm/ibmvnic.c +++ b/driver