diff options
| author | Winston Wen <[email protected]> | 2023-07-24 02:10:56 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-07-25 05:30:02 +0000 |
| commit | c1ed39ec116272935528ca9b348b8ee79b0791da (patch) | |
| tree | 5afa2eaa4b3905e8a02c1fff0d086db816f87c15 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | Linux 6.5-rc3 (diff) | |
| download | kernel-c1ed39ec116272935528ca9b348b8ee79b0791da.tar.gz kernel-c1ed39ec116272935528ca9b348b8ee79b0791da.zip | |
fs/nls: make load_nls() take a const parameter
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 <[email protected]>
Signed-off-by: Winston Wen <[email protected]>
Reviewed-by: Paulo Alcantara <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
