On Mon, Jul 24, 2023 at 10:10:56AM +0800, Winston Wen wrote: > load_nls() take a char * parameter, use it to find nls module in list or > construct the module name to load it. > > This change make load_nls() take a const parameter, so we don't need do > some cast like this: > > ses->local_nls = load_nls((char *)ctx->local_nls->charset); > > Suggested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Signed-off-by: Winston Wen <wentao@xxxxxxxxxxxxx> > Reviewed-by: Paulo Alcantara <pc@xxxxxxxxxxxxx> > --- Looks good to me, Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>