mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
irq: Don't allow IRQ affinities to be set from userspace
Change-Id: I8278aec4280103cdb092f197ded20831d9f57fd4 Signed-off-by: Kazuki H <kazukih0205@gmail.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
70f60e8bfe
commit
b4f4f18aa7
@ -145,6 +145,7 @@ static ssize_t write_irq_affinity(int type, struct file *file,
|
||||
cpumask_var_t new_value;
|
||||
int err;
|
||||
|
||||
return count;
|
||||
if (!irq_can_set_affinity_usr(irq) || no_irq_affinity)
|
||||
return -EIO;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user