[PATCH net] ibmvnic: Do not process device remove during device reset
David Miller
davem at davemloft.net
Tue Mar 10 12:04:30 AEDT 2020
From: Juliet Kim <julietk at linux.vnet.ibm.com>
Date: Mon, 9 Mar 2020 19:02:04 -0500
> diff --git a/drivers/net/ethernet/ibm/ibmvnic.c b/drivers/net/ethernet/ibm/ibmvnic.c
> index c75239d8820f..7ef1ae0d49bc 100644
> --- a/drivers/net/ethernet/ibm/ibmvnic.c
> +++ b/drivers/net/ethernet/ibm/ibmvnic.c
> @@ -2144,6 +2144,8 @@ static void __ibmvnic_reset(struct work_struct *work)
> struct ibmvnic_adapter *adapter;
> u32 reset_state;
> int rc = 0;
> + unsigned long flags;
> + bool saved_state = false;
Please preserve the reverse christmas tree ordering of local variables.
Thank you.
More information about the Linuxppc-dev
mailing list