From: Bartosz Staszewski Date: Mon, 24 Oct 2022 08:49:55 +0000 (+0200) Subject: iavf: Change information about device removal in dmesg X-Git-Tag: v6.6.17~5932^2~291^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69b957440a6379b4ae4bc6eef07bbf5efdeb4233;p=platform%2Fkernel%2Flinux-rpi.git iavf: Change information about device removal in dmesg 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 Signed-off-by: Kamil Maziarz Tested-by: Gurucharan (A Contingent worker at Intel) Signed-off-by: Tony Nguyen --- diff --git a/drivers/net/ethernet/intel/iavf/iavf_main.c b/drivers/net/ethernet/intel/iavf/iavf_main.c index efa2692..258bdf8 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);