iavf: Change information about device removal in dmesg
authorBartosz Staszewski <bartoszx.staszewski@intel.com>
Mon, 24 Oct 2022 08:49:55 +0000 (10:49 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 2 Nov 2022 16:37:20 +0000 (09:37 -0700)
Changed information about device removal in dmesg.
In function iavf_remove changed printed message from
"Remove" to "Removing" after hot vf plug/unplug.
Reason for this change is that, that "Removing" word
is better because it is clearer for the user that
the device is already being removed rather than implying
that the user should remove this device.

Signed-off-by: Bartosz Staszewski <bartoszx.staszewski@intel.com>
Signed-off-by: Kamil Maziarz <kamil.maziarz@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_main.c

index efa2692af5772da446f25ed9c84a9ad817819519..258bdf8906dd2deda82306e14e4748d1a5636359 100644 (file)
@@ -5083,7 +5083,7 @@ static void iavf_remove(struct pci_dev *pdev)
        }
 
        mutex_lock(&adapter->crit_lock);
-       dev_info(&adapter->pdev->dev, "Remove device\n");
+       dev_info(&adapter->pdev->dev, "Removing device\n");
        iavf_change_state(adapter, __IAVF_REMOVE);
 
        iavf_request_reset(adapter);