mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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:
parent
a1a541d86f
commit
4bab30a041
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue