Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gaske…
…t_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: 9a69f50 ("drivers/staging: Gasket driver framework + Apex driver") Signed-off-by: Jing Xiangfeng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information