]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
iavf: Remove non-inclusive language
authorMateusz Palczewski <mateusz.palczewski@intel.com>
Thu, 3 Feb 2022 10:25:18 +0000 (11:25 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 1 Mar 2022 16:50:11 +0000 (08:50 -0800)
Remove non-inclusive language from the iavf driver.

Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/iavf/iavf_common.c
drivers/net/ethernet/intel/iavf/iavf_main.c
drivers/net/ethernet/intel/iavf/iavf_status.h

index e9cc7f6ddc4663db36f4c2cadaca0ae8ef6ea7c3..34e46a23894f4999d7a53b28de8064f2ad35d4e4 100644 (file)
@@ -131,8 +131,8 @@ const char *iavf_stat_str(struct iavf_hw *hw, enum iavf_status stat_err)
                return "IAVF_ERR_INVALID_MAC_ADDR";
        case IAVF_ERR_DEVICE_NOT_SUPPORTED:
                return "IAVF_ERR_DEVICE_NOT_SUPPORTED";
-       case IAVF_ERR_MASTER_REQUESTS_PENDING:
-               return "IAVF_ERR_MASTER_REQUESTS_PENDING";
+       case IAVF_ERR_PRIMARY_REQUESTS_PENDING:
+               return "IAVF_ERR_PRIMARY_REQUESTS_PENDING";
        case IAVF_ERR_INVALID_LINK_SETTINGS:
                return "IAVF_ERR_INVALID_LINK_SETTINGS";
        case IAVF_ERR_AUTONEG_NOT_COMPLETE:
index 2d355a7383a462f2c31b913cbf103593a25d3b10..56387cec024f4c1e26cf727935c683f8fb5fdc98 100644 (file)
@@ -90,7 +90,7 @@ int iavf_status_to_errno(enum iavf_status status)
        case IAVF_ERR_UNKNOWN_PHY:
        case IAVF_ERR_LINK_SETUP:
        case IAVF_ERR_ADAPTER_STOPPED:
-       case IAVF_ERR_MASTER_REQUESTS_PENDING:
+       case IAVF_ERR_PRIMARY_REQUESTS_PENDING:
        case IAVF_ERR_AUTONEG_NOT_COMPLETE:
        case IAVF_ERR_RESET_FAILED:
        case IAVF_ERR_BAD_PTR:
index 46e3d1f6b6048ade1279d44a76cb4a0e7057e670..2ea5c7c339bcc0bd1f046540a801e78df38e31e4 100644 (file)
@@ -18,7 +18,7 @@ enum iavf_status {
        IAVF_ERR_ADAPTER_STOPPED                = -9,
        IAVF_ERR_INVALID_MAC_ADDR               = -10,
        IAVF_ERR_DEVICE_NOT_SUPPORTED           = -11,
-       IAVF_ERR_MASTER_REQUESTS_PENDING        = -12,
+       IAVF_ERR_PRIMARY_REQUESTS_PENDING       = -12,
        IAVF_ERR_INVALID_LINK_SETTINGS          = -13,
        IAVF_ERR_AUTONEG_NOT_COMPLETE           = -14,
        IAVF_ERR_RESET_FAILED                   = -15,