Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199261
b: refs/heads/master
c: d6bd535
h: refs/heads/master
i:
  199259: e2962ef
v: v3
  • Loading branch information
Julia Lawall authored and Len Brown committed May 20, 2010
1 parent a236dd2 commit 771d37e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: aeb834d95e771499cb0492d127aec3246d1595c8
refs/heads/master: d6bd535d88429b4804d6d917ab4f586306f9a855
3 changes: 1 addition & 2 deletions trunk/drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,10 +1027,9 @@ int __init acpi_ec_ecdt_probe(void)
/* Don't trust ECDT, which comes from ASUSTek */
if (!EC_FLAGS_VALIDATE_ECDT)
goto install;
saved_ec = kmalloc(sizeof(struct acpi_ec), GFP_KERNEL);
saved_ec = kmemdup(boot_ec, sizeof(struct acpi_ec), GFP_KERNEL);
if (!saved_ec)
return -ENOMEM;
memcpy(saved_ec, boot_ec, sizeof(struct acpi_ec));
/* fall through */
}

Expand Down

0 comments on commit 771d37e

Please sign in to comment.