diff mbox series

[net-next,v1] iavf: Change information about device removal in dmesg

Message ID 20221024084955.60038-1-kamil.maziarz@intel.com
State Accepted
Delegated to: Anthony Nguyen
Headers show
Series [net-next,v1] iavf: Change information about device removal in dmesg | expand

Commit Message

Kamil Maziarz Oct. 24, 2022, 8:49 a.m. UTC
From: Bartosz Staszewski <bartoszx.staszewski@intel.com>

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>
---
 drivers/net/ethernet/intel/iavf/iavf_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

G, GurucharanX Oct. 31, 2022, 6:22 a.m. UTC | #1
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@osuosl.org> On Behalf Of
> Kamil Maziarz
> Sent: Monday, October 24, 2022 2:20 PM
> To: intel-wired-lan@lists.osuosl.org
> Cc: Maziarz, Kamil <kamil.maziarz@intel.com>; Staszewski, BartoszX
> <bartoszx.staszewski@intel.com>
> Subject: [Intel-wired-lan] [PATCH net-next v1] iavf: Change information
> about device removal in dmesg
> 
> From: Bartosz Staszewski <bartoszx.staszewski@intel.com>
> 
> 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>
> ---
>  drivers/net/ethernet/intel/iavf/iavf_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
diff mbox series

Patch

diff --git a/drivers/net/ethernet/intel/iavf/iavf_main.c b/drivers/net/ethernet/intel/iavf/iavf_main.c
index 3fc572341781..a61e0e3e39b6 100644
--- a/drivers/net/ethernet/intel/iavf/iavf_main.c
+++ b/drivers/net/ethernet/intel/iavf/iavf_main.c
@@ -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);