Commit eb29369f authored by Jeff Xie's avatar Jeff Xie Committed by Thomas Gleixner
Browse files

genirq/proc: Change the return value for set affinity permission error



Currently, when the affinity of an irq cannot be set due to lack of
permission, the write_irq_affinity() returns the error code -EIO.

Change the return value to -EPERM as that reflects the cause of error
correctly.

Signed-off-by: default avatarJeff Xie <jeff.xie@linux.dev>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240826145805.5938-1-jeff.xie@linux.dev
parent 9012f84e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment