Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
29 lines
959 B
Diff
29 lines
959 B
Diff
--- a/src/drv_mei_cpe_linux.c
|
|
+++ b/src/drv_mei_cpe_linux.c
|
|
@@ -1873,7 +1873,11 @@ static int mei_seq_single_show(struct se
|
|
|
|
static int mei_proc_single_open(struct inode *inode, struct file *file)
|
|
{
|
|
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0))
|
|
return single_open(file, mei_seq_single_show, PDE_DATA(inode));
|
|
+#else
|
|
+ return single_open(file, mei_seq_single_show, pde_data(inode));
|
|
+#endif
|
|
}
|
|
|
|
static void mei_proc_entry_create(struct proc_dir_entry *parent_node,
|
|
--- a/src/drv_mei_cpe_linux_proc_config.c
|
|
+++ b/src/drv_mei_cpe_linux_proc_config.c
|
|
@@ -1036,7 +1036,11 @@ static int mei_seq_single_show(struct se
|
|
|
|
static int mei_proc_single_open(struct inode *inode, struct file *file)
|
|
{
|
|
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0))
|
|
return single_open(file, mei_seq_single_show, PDE_DATA(inode));
|
|
+#else
|
|
+ return single_open(file, mei_seq_single_show, pde_data(inode));
|
|
+#endif
|
|
}
|
|
|
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(5,6,0))
|