mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
taint: add explicit flag to show whether lock dep is still OK.
Fix up all callers as they were before, with make one change: an unsigned module taints the kernel, but doesn't turn off lockdep. Signed-off-by: Rusty Russell <[email protected]>
This commit is contained in:
parent
64748a2c90
commit
373d4d0997
37 changed files with 69 additions and 67 deletions
|
|
@ -267,7 +267,7 @@ static ssize_t regmap_map_write_file(struct file *file,
|
|||
return -EINVAL;
|
||||
|
||||
/* Userspace has been fiddling around behind the kernel's back */
|
||||
add_taint(TAINT_USER);
|
||||
add_taint(TAINT_USER, LOCKDEP_NOW_UNRELIABLE);
|
||||
|
||||
regmap_write(map, reg, value);
|
||||
return buf_size;
|
||||
|
|
|
|||
Loading…
Reference in a new issue