Files
linux-rockchip/include/linux
Winston Wen bc2b0d4d37 fs/nls: make load_nls() take a const parameter
[ Upstream commit c1ed39ec116272935528ca9b348b8ee79b0791da ]

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@canb.auug.org.au>
Signed-off-by: Winston Wen <wentao@uniontech.com>
Reviewed-by: Paulo Alcantara <pc@manguebit.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:20:04 +02:00
..
2023-08-26 15:26:49 +02:00
2023-03-17 08:45:07 +01:00
2023-03-17 08:45:07 +01:00
2023-06-21 15:45:38 +02:00
2023-08-26 15:26:57 +02:00
2023-03-17 08:45:14 +01:00
2023-05-17 11:48:09 +02:00