[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200901220814.GD3050651@lunn.ch>
Date: Wed, 2 Sep 2020 00:08:14 +0200
From: Andrew Lunn <andrew@...n.ch>
To: David Awogbemila <awogbemila@...gle.com>
Cc: netdev@...r.kernel.org, Catherine Sullivan <csully@...gle.com>,
Yangchun Fu <yangchun@...gle.com>
Subject: Re: [PATCH net-next v2 3/9] gve: Use dev_info/err instead of
netif_info/err.
> @@ -1133,7 +1133,9 @@ static int gve_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> goto abort_with_db_bar;
> }
> SET_NETDEV_DEV(dev, &pdev->dev);
> +
> pci_set_drvdata(pdev, dev);
> +
> dev->ethtool_ops = &gve_ethtool_ops;
> dev->netdev_ops = &gve_netdev_ops;
> /* advertise features */
> @@ -1160,6 +1162,7 @@ static int gve_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> priv->state_flags = 0x0;
>
> gve_set_probe_in_progress(priv);
> +
> priv->gve_wq = alloc_ordered_workqueue("gve", 0);
> if (!priv->gve_wq) {
> dev_err(&pdev->dev, "Could not allocate workqueue");
> @@ -1181,6 +1184,7 @@ static int gve_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
> dev_info(&pdev->dev, "GVE version %s\n", gve_version_str);
> gve_clear_probe_in_progress(priv);
> queue_work(priv->gve_wq, &priv->service_task);
> +
> return 0;
>
> abort_with_wq:
No white space changes please. If you want these, put them into a
patch of there own.
Andrew
Powered by blists - more mailing lists