wireguard: fix zfs_ copy pasta in module init macro
Reported by: Jessica Clarke
This commit is contained in:
parent
d0c96ffc59
commit
ac042c65ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368196
@ -296,7 +296,7 @@ wrap_ ## fn(void *dummy __unused) \
|
|||||||
{ \
|
{ \
|
||||||
fn(); \
|
fn(); \
|
||||||
} \
|
} \
|
||||||
SYSINIT(zfs_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
|
SYSINIT(if_wg_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
|
||||||
|
|
||||||
|
|
||||||
#define module_exit(fn) \
|
#define module_exit(fn) \
|
||||||
@ -305,7 +305,7 @@ wrap_ ## fn(void *dummy __unused) \
|
|||||||
{ \
|
{ \
|
||||||
fn(); \
|
fn(); \
|
||||||
} \
|
} \
|
||||||
SYSUNINIT(zfs_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
|
SYSUNINIT(if_wg_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
|
||||||
|
|
||||||
#define module_param(a, b, c)
|
#define module_param(a, b, c)
|
||||||
#define MODULE_LICENSE(x)
|
#define MODULE_LICENSE(x)
|
||||||
|
Loading…
Reference in New Issue
Block a user