projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a541d
)
ACPI: add kernel tainting after overriding an ACPI control method
author
Zhang Rui
<rui.zhang@intel.com>
Mon, 14 Dec 2009 03:24:18 +0000
(11:24 +0800)
committer
Len Brown
<len.brown@intel.com>
Wed, 16 Dec 2009 03:52:19 +0000
(22:52 -0500)
Add kernel tainting after overriding an ACPI control method successfully.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/debug.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/debug.c
b/drivers/acpi/debug.c
index
0bedd15
..
cc421b7
100644
(file)
--- a/
drivers/acpi/debug.c
+++ b/
drivers/acpi/debug.c
@@
-239,6
+239,7
@@
static ssize_t cm_write(struct file *file, const char __user *user_buf,
kfree(buf);
if (ACPI_FAILURE(status))
return -EINVAL;
+ add_taint(TAINT_OVERRIDDEN_ACPI_TABLE);
}
return count;