Re: [PATCH 21/25] xor: add a better public API

Christoph Hellwig
2026-03-10T06:58:53Z

On Fri, Feb 27, 2026 at 10:50:38PM -0800, Eric Biggers wrote:
> > +void xor_gen(void *dest, void **srcss, unsigned int src_cnt,
> > + unsigned int bytes);
>
> srcss => srcs
>
> Ideally the source vectors would be 'const' as well.

I looked at the constification, and it's a bit painful because the
same source arrays are also passed to the raid6 code by the callers.
I'll clean up the raid6 API first, and then will give it another
spin.