From fa26daf65bb4117ecfe099fcad48ea75fe86d8bb Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Mon, 3 Jun 2024 10:18:53 +0200 Subject: [PATCH] chore(driver): add comment with commit. Signed-off-by: Federico Di Pierro --- driver/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver/main.c b/driver/main.c index a5dc247877..d2009e3ba1 100644 --- a/driver/main.c +++ b/driver/main.c @@ -1652,6 +1652,8 @@ static inline int drop_nostate_event(ppm_event_code event_type, #elif (LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0)) !fd_is_open(close_fd, fdt) #else + // fd_is_open() was made file-local: + // https://github.com/torvalds/linux/commit/c4aab26253cd1f302279b8d6b5b66ccf1b120520 !test_bit(close_fd, fdt->open_fds) #endif ) {