[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL9ddJd2rPMYdgy4Fr2FWfauM5MpS8U1RaeFKUgtynjgmPHtMg@mail.gmail.com>
Date: Wed, 2 Sep 2020 11:43:20 -0700
From: David Awogbemila <awogbemila@...gle.com>
To: Andrew Lunn <andrew@...n.ch>
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.
On Tue, Sep 1, 2020 at 3:08 PM Andrew Lunn <andrew@...n.ch> wrote:
>
> > @@ -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
Thanks I'll fix this.
Powered by blists - more mailing lists