From 4ccfa051326b381f5aae2158883cfa2b2fdab729 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 af1470b8d7..0e51e2b52a 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 ) {