Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102176792
D33103.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
315 B
Referenced Files
None
Subscribers
None
D33103.diff
View Options
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -1849,9 +1849,10 @@
memcpy(propvalue, obj->Buffer.Pointer,
MIN(size, obj->Buffer.Length));
return (obj->Buffer.Length);
- }
- return (-1);
+ default:
+ return (0);
+ }
}
int
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 1:31 PM (20 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14561088
Default Alt Text
D33103.diff (315 B)
Attached To
Mode
D33103: acpi: fix device_get_property invalid return
Attached
Detach File
Event Timeline
Log In to Comment