> +     const size_t wksp_size = ZSTD_estimateCCtxSize(ZSTD_DEF_LEVEL);
> +
> +     if (ZSTD_isError(wksp_size)) {
> +             ret = -EINVAL;
> +             goto out_free;
> +     }

Pleas switch to properly named functions when you touch this.

The API names here look like a cat threw up on the keyboard.

Reply via email to