diff options
author | David Arinzon <darinzon@amazon.com> | 2024-01-30 12:53:48 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-01 15:22:12 +0300 |
commit | ae82209293297c423c0c40575cae7b464248866c (patch) | |
tree | 810d9b16f78a9b405650afc224a5f360711079e1 /drivers/net/ethernet | |
parent | 06a96fe6f9f02f1205774b60c2f42f09a6832f31 (diff) | |
download | linux-ae82209293297c423c0c40575cae7b464248866c.tar.xz |
net: ena: Change error print during ena_device_init()
The print was re-worded to a more informative one.
Signed-off-by: Shahar Itzko <itzko@amazon.com>
Signed-off-by: David Arinzon <darinzon@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/amazon/ena/ena_netdev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c index cd75e5a7a52e..18acb764e446 100644 --- a/drivers/net/ethernet/amazon/ena/ena_netdev.c +++ b/drivers/net/ethernet/amazon/ena/ena_netdev.c @@ -3071,6 +3071,7 @@ static int ena_device_init(struct ena_adapter *adapter, struct pci_dev *pdev, bool *wd_state) { struct ena_com_dev *ena_dev = adapter->ena_dev; + struct net_device *netdev = adapter->netdev; struct ena_llq_configurations llq_config; struct device *dev = &pdev->dev; bool readless_supported; @@ -3160,7 +3161,7 @@ static int ena_device_init(struct ena_adapter *adapter, struct pci_dev *pdev, rc = ena_set_queues_placement_policy(pdev, ena_dev, &get_feat_ctx->llq, &llq_config); if (rc) { - dev_err(dev, "ENA device init failed\n"); + netdev_err(netdev, "Cannot set queues placement policy rc= %d\n", rc); goto err_admin_init; } |