lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6DB010A6EA@AcuExch.aculab.com>
Date:   Tue, 27 Sep 2016 09:21:27 +0000
From:   David Laight <David.Laight@...LAB.COM>
To:     'Adit Ranadive' <aditr@...are.com>,
        Yuval Shaia <yuval.shaia@...cle.com>
CC:     "dledford@...hat.com" <dledford@...hat.com>,
        "linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
        "pv-drivers@...are.com" <pv-drivers@...are.com>,
        "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
        "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
        "jhansen@...are.com" <jhansen@...are.com>,
        "asarwade@...are.com" <asarwade@...are.com>,
        "georgezhang@...are.com" <georgezhang@...are.com>,
        "bryantan@...are.com" <bryantan@...are.com>
Subject: RE: [PATCH v5 13/16] IB/pvrdma: Add the main driver module for
 PVRDMA

From: Adit Ranadive
> Sent: 26 September 2016 19:15
> 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.

Won't EFAULT generate SIGSEGV ?

	David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ