Re: [PATCHv5 04/23] zram: introduce custom comp backends API
From: Sergey Senozhatsky
Date: Sat Jul 06 2024 - 21:32:04 EST
On (24/07/06 09:50), Thomas Weißschuh wrote:
> > /* dynamic per-device compression frontend */
> > struct zcomp {
> > struct zcomp_strm __percpu *stream;
> > - const char *name;
> > + struct zcomp_ops *ops;
>
> If this is "const struct zcomp_ops *ops" then all the backend struct
> zcomp_ops definitions could be constified, improving security.
I guess I can do that.