(empty log message)
@@ -59,11 +59,6 @@ | ||
59 | 59 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0) |
60 | 60 | #include <linux/magic.h> |
61 | 61 | #endif |
62 | -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0) | |
63 | -#include <linux/stdarg.h> | |
64 | -#else | |
65 | -#include <stdarg.h> | |
66 | -#endif | |
67 | 62 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0) |
68 | 63 | #include <linux/uaccess.h> |
69 | 64 | #else |
@@ -6142,7 +6142,7 @@ | ||
6142 | 6142 | */ |
6143 | 6143 | static int ccs_open(struct inode *inode, struct file *file) |
6144 | 6144 | { |
6145 | -#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0) | |
6145 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0) || (defined(RHEL_MAJOR) && RHEL_MAJOR == 9 && defined(RHEL_MINOR) && RHEL_MINOR >= 1) | |
6146 | 6146 | const u8 type = (unsigned long) pde_data(inode); |
6147 | 6147 | #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0) |
6148 | 6148 | const u8 type = (unsigned long) PDE_DATA(inode); |