[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200825.100805.388932748785591114.davem@davemloft.net>
Date: Tue, 25 Aug 2020 10:08:05 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: drt@...ux.ibm.com
Cc: netdev@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
mmc@...ux.vnet.ibm.com
Subject: Re: [PATCH net v2] ibmvnic fix NULL tx_pools and rx_tools issue at
do_reset
From: Dany Madden <drt@...ux.ibm.com>
Date: Tue, 25 Aug 2020 12:56:06 -0400
> @@ -2011,7 +2017,10 @@ static int do_reset(struct ibmvnic_adapter *adapter,
> adapter->req_rx_add_entries_per_subcrq !=
> old_num_rx_slots ||
> adapter->req_tx_entries_per_subcrq !=
> - old_num_tx_slots) {
> + old_num_tx_slots ||
> + !adapter->rx_pool ||
> + !adapter->tso_pool ||
> + !adapter->tx_pool) {
Please don't over indent these new lines, indent them identically as the
lines above where you are adding new conditions.
Thank you.
Powered by blists - more mailing lists