Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1354905

Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting the reset driver

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting the reset driver
Date 2016-03-10 09:00 +0100
Message-ID <rb3FM-3L3-3@gated-at.bofh.it> (permalink)
References <rarTQ-2Ho-21@gated-at.bofh.it> <rarTR-2Ho-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Mar 08, 2016 at 10:37:34AM -0500, Sinan Kaya wrote:
> On 3/8/2016 10:33 AM, Sinan Kaya wrote:
> > +	int rc = 0;
> > +
> 
> I should have initialized this to -1. 
> 

-1 is a magic number which stands for -EPERM which is wrong.  Use
-ENODEV.

regards,
dan carpenter

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] vfio, platform: add support for ACPI while detecting the reset driver Sinan Kaya <okaya@codeaurora.org> - 2016-03-08 16:40 +0100
  [PATCH 2/2] vfio, platform: add QTI HIDMA reset driver Sinan Kaya <okaya@codeaurora.org> - 2016-03-08 16:40 +0100
  Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting  the reset driver Sinan Kaya <okaya@codeaurora.org> - 2016-03-08 16:40 +0100
    Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting  the reset driver Dan Carpenter <dan.carpenter@oracle.com> - 2016-03-10 09:00 +0100
      Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting  the reset driver Sinan Kaya <okaya@codeaurora.org> - 2016-03-10 18:10 +0100
  Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting  the reset driver Eric Auger <eric.auger@linaro.org> - 2016-03-10 11:20 +0100
    Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting  the reset driver Sinan Kaya <okaya@codeaurora.org> - 2016-03-10 18:20 +0100
      Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting  the reset driver Eric Auger <eric.auger@linaro.org> - 2016-03-11 04:50 +0100
        Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting  the reset driver Sinan Kaya <okaya@codeaurora.org> - 2016-03-11 17:10 +0100
      Re: [PATCH 1/2] vfio, platform: add support for ACPI while  detecting the reset driver Marc Zyngier <marc.zyngier@arm.com> - 2016-03-11 05:10 +0100

csiph-web