Re: [PATCH v5 17/18] migration/multifd: Make MultiFDMethods const

2024-08-26 Thread Peter Xu
On Mon, Aug 26, 2024 at 04:53:21PM -0300, Fabiano Rosas wrote: > The methods are defined at module_init time and don't ever > change. Make them const. > > Suggested-by: Philippe Mathieu-Daudé > Signed-off-by: Fabiano Rosas Reviewed-by: Peter Xu -- Peter Xu

[PATCH v5 17/18] migration/multifd: Make MultiFDMethods const

2024-08-26 Thread Fabiano Rosas
The methods are defined at module_init time and don't ever change. Make them const. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Fabiano Rosas --- migration/multifd-nocomp.c | 2 +- migration/multifd-qpl.c| 2 +- migration/multifd-uadk.c | 2 +- migration/multifd-zlib.c | 2 +- m