Re: [PATCH 4/9] crypto: zstd: Switch to zstd-1.4.6 API

From: Christoph Hellwig
Date: Wed Sep 16 2020 - 04:49:14 EST


> + 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.