[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <651b18ee-55ca-0c72-af9c-c55c42b57fd1@vmware.com>
Date: Mon, 26 Sep 2016 11:15:28 -0700
From: Adit Ranadive <aditr@...are.com>
To: Yuval Shaia <yuval.shaia@...cle.com>
CC: <dledford@...hat.com>, <linux-rdma@...r.kernel.org>,
<pv-drivers@...are.com>, <netdev@...r.kernel.org>,
<linux-pci@...r.kernel.org>, <jhansen@...are.com>,
<asarwade@...are.com>, <georgezhang@...are.com>,
<bryantan@...are.com>
Subject: Re: [PATCH v5 13/16] IB/pvrdma: Add the main driver module for PVRDMA
On Mon, Sep 26, 2016 at 00:27:40AM -0700, Yuval Shaia wrote:
> On Sat, Sep 24, 2016 at 04:21:37PM -0700, Adit Ranadive wrote:
> > +
> > + /* Currently, the driver only supports RoCE mode. */
> > + if (dev->dsr->caps.mode != PVRDMA_DEVICE_MODE_ROCE) {
> > + dev_err(&pdev->dev, "unsupported transport %d\n",
> > + dev->dsr->caps.mode);
> > + ret = -EINVAL;
>
> This is some fatal error with the device, not that something wrong with the
> function's argument.
> Suggesting to replace with -EFAULT.
>
Thanks, will fix this one and the others here.
Powered by blists - more mailing lists