diff options
| author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2020-11-12 14:49:24 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-13 15:35:14 +0100 |
| commit | ab5b769a23af12a675b9f3d7dd529250c527f5ac (patch) | |
| tree | 07d7e71203ad3f38d217d672e65a0c2876134fab /drivers/fpga/fpga-bridge.c | |
| parent | 8b5b1b81935d88673e23ddb633f02dc6c842829b (diff) | |
staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c
gasket_interrupt_set_eventfd() misses to call eventfd_ctx_put() in an
error path. We check interrupt is valid before calling
eventfd_ctx_fdget() to fix it.
There is the same issue in gasket_interrupt_clear_eventfd(), Add the
missed function call to fix it.
Fixes: 9a69f5087ccc ("drivers/staging: Gasket driver framework + Apex driver")
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Link: https://lore.kernel.org/r/20201112064924.99680-1-jingxiangfeng@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
