wireguard: fix zfs_ copy pasta in module init macro
Reported by: Jessica Clarke
This commit is contained in:
parent
d0c96ffc59
commit
ac042c65ae
@ -296,7 +296,7 @@ wrap_ ## fn(void *dummy __unused) \
|
||||
{ \
|
||||
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) \
|
||||
@ -305,7 +305,7 @@ wrap_ ## fn(void *dummy __unused) \
|
||||
{ \
|
||||
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_LICENSE(x)
|
||||
|
Loading…
Reference in New Issue
Block a user