aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorWen Yaxng <[email protected]>2017-11-08 01:55:03 +0000
committerThomas Gleixner <[email protected]>2017-11-12 22:25:39 +0000
commit6714796edcce27f7a1845e2f79783cd51bb4799b (patch)
tree9013b662811f2604112e1aa7f9621b6962e98ac4 /drivers/fpga/fpga-region.c
parentirq/work: Use llist_for_each_entry_safe (diff)
downloadkernel-6714796edcce27f7a1845e2f79783cd51bb4799b.tar.gz
kernel-6714796edcce27f7a1845e2f79783cd51bb4799b.zip
genirq/proc: Return proper error code when irq_set_affinity() fails
write_irq_affinity() returns the number of written bytes, which means success, unconditionally whether the actual irq_set_affinity() call succeeded or not. Add proper error handling and pass the error code returned from irq_set_affinity() back to user space in case of failure. [ tglx: Fixed coding style and massaged changelog ] Signed-off-by: Wen Yang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Jiang Biao <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions