Thread (10 messages) 10 messages, 4 authors, 2016-03-11

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

From: Dan Carpenter <hidden>
Date: 2016-03-10 07:59:35
Also in: kvm, linux-arm-kernel, linux-arm-msm, lkml

On Tue, Mar 08, 2016 at 10:37:34AM -0500, Sinan Kaya wrote:
On 3/8/2016 10:33 AM, Sinan Kaya wrote:
quoted
+	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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help