summaryrefslogtreecommitdiffstats
path: root/module/zfs/qat_crypt.c
diff options
context:
space:
mode:
authorloli10K <[email protected]>2019-09-03 19:36:33 +0200
committerBrian Behlendorf <[email protected]>2019-09-03 10:36:33 -0700
commit6988f3ed9af7e9e253ee49115cbc6c4d835dd53d (patch)
treeb7adeeda19cf225db67506dea1d17c3563e309df /module/zfs/qat_crypt.c
parent1e52716257877dbd97373cc8ca239315eaee2984 (diff)
Fix Intel QAT / ZFS compatibility on v4.7.1+ kernels
This change use the compat code introduced in 9cc1844a. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: loli10K <[email protected]> Closes #9268 Closes #9269
Diffstat (limited to 'module/zfs/qat_crypt.c')
-rw-r--r--module/zfs/qat_crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/qat_crypt.c b/module/zfs/qat_crypt.c
index 34c19b582..2170366df 100644
--- a/module/zfs/qat_crypt.c
+++ b/module/zfs/qat_crypt.c
@@ -578,7 +578,7 @@ fail:
}
static int
-param_set_qat_encrypt(const char *val, struct kernel_param *kp)
+param_set_qat_encrypt(const char *val, zfs_kernel_param_t *kp)
{
int ret;
int *pvalue = kp->arg;
@@ -600,7 +600,7 @@ param_set_qat_encrypt(const char *val, struct kernel_param *kp)
}
static int
-param_set_qat_checksum(const char *val, struct kernel_param *kp)
+param_set_qat_checksum(const char *val, zfs_kernel_param_t *kp)
{
int ret;
int *pvalue = kp->arg;