Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140063044
D54312.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
377 B
Referenced Files
None
Subscribers
None
D54312.id.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
@@ -4205,8 +4205,7 @@
{
struct acpi_ioctl_hook *hp, *thp;
- if ((hp = malloc(sizeof(*hp), M_ACPIDEV, M_NOWAIT)) == NULL)
- return (ENOMEM);
+ hp = malloc(sizeof(*hp), M_ACPIDEV, M_WAITOK);
hp->cmd = cmd;
hp->fn = fn;
hp->arg = arg;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 20, 5:43 PM (50 m, 20 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27098312
Default Alt Text
D54312.id.diff (377 B)
Attached To
Mode
D54312: acpi: Use M_WAITOK in acpi_register_ioctl
Attached
Detach File
Event Timeline
Log In to Comment