[PATCH 21/25] xor: add a better public API
Christoph Hellwig
hch at lst.de
Tue Mar 10 17:58:40 AEDT 2026
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.
More information about the Linuxppc-dev
mailing list