diff options
author | Zhang Rui <rui.zhang@intel.com> | 2009-12-13 22:24:18 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-15 22:52:19 -0500 |
commit | 4bab30a041a2f27807b0b2a7fd36c8c8695c90c8 (patch) | |
tree | 5e30d3dd9a8f3017d9faf4a7b886de04665e22c4 /drivers/acpi | |
parent | a1a541d86f50a9957beeedb122a035870d602647 (diff) |
ACPI: add kernel tainting after overriding an ACPI control method
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/debug.c b/drivers/acpi/debug.c index 0bedd1554f2f..cc421b7ae166 100644 --- 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, | |||
239 | kfree(buf); | 239 | kfree(buf); |
240 | if (ACPI_FAILURE(status)) | 240 | if (ACPI_FAILURE(status)) |
241 | return -EINVAL; | 241 | return -EINVAL; |
242 | add_taint(TAINT_OVERRIDDEN_ACPI_TABLE); | ||
242 | } | 243 | } |
243 | 244 | ||
244 | return count; | 245 | return count; |