On Aug 25, 2020, at 10:08 AM, David Miller <da...@davemloft.net> wrote:

From: Dany Madden <d...@linux.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.


Okay, good catch.  thanks!

Mingming

Reply via email to