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>
This commit is contained in:
Zhang Rui 2009-12-14 11:24:18 +08:00 committed by Len Brown
parent a1a541d86f
commit 4bab30a041
1 changed files with 1 additions and 0 deletions

View File

@ -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;