projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/acpi/debug.c
b/drivers/acpi/debug.c
index 0bedd1554f2f6708479c6c10656422ffe26e874d..cc421b7ae166c4ffe6a005c73b3f2714a36db2b9 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;