diff --git a/module/zfs/qat_compress.c b/module/zfs/qat_compress.c index a350c0f3e93b..99d1c9a12d6f 100644 --- a/module/zfs/qat_compress.c +++ b/module/zfs/qat_compress.c @@ -104,8 +104,8 @@ static kstat_t *qat_ksp; static CpaInstanceHandle dc_inst_handles[MAX_INSTANCES]; static CpaDcSessionHandle session_handles[MAX_INSTANCES]; static CpaBufferList **buffer_array[MAX_INSTANCES]; -static Cpa16U num_inst = 0; -static Cpa16U inst_num = 0; +static Cpa32U num_inst = 0; +static Cpa32U inst_num = 0; static boolean_t qat_init_done = B_FALSE; int zfs_qat_disable = 0;