We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5499b58 commit e73f791Copy full SHA for e73f791
include/os/linux/kernel/linux/mod_compat.h
@@ -31,15 +31,6 @@
31
#include <linux/module.h>
32
#include <linux/moduleparam.h>
33
34
-/*
35
- * Despite constifying struct kernel_param_ops, some older kernels define a
36
- * `__check_old_set_param()` function in their headers that checks for a
37
- * non-constified `->set()`. This has long been fixed in Linux mainline, but
38
- * since we support older kernels, we workaround it by using a preprocessor
39
- * definition to disable it.
40
- */
41
-#define __check_old_set_param(_) (0)
42
-
43
typedef const struct kernel_param zfs_kernel_param_t;
44
45
#define ZMOD_RW 0644
0 commit comments