Skip to content

Commit

Permalink
ACPI: add kernel tainting after overriding an ACPI control method
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhang Rui authored and Len Brown committed Dec 16, 2009
1 parent a1a541d commit 4bab30a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/acpi/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4bab30a

Please sign in to comment.