diff options
| author | Huiwen He <hehuiwen@kylinos.cn> | 2026-04-02 14:18:30 +0000 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-04-05 19:58:40 -0500 |
| commit | 772d5920c3d417fc4ba44c0b6fb61ca4f19f5809 (patch) | |
| tree | c4168089198a1536963a7596d4d134b81daad48b /drivers/telephony/git@git.tavy.me:linux.git | |
| parent | c825f6b7432a11a801feb5f5783765cf31f2c3ff (diff) | |
smb/client: refactor ntstatus_to_dos() to return mapping entry
Refactor ntstatus_to_dos() to return a pointer to the mapping entry
instead of using output parameters. This allows callers to access all
fields of the entry directly.
In map_smb_to_linux_error(), integrate the printing logic directly
to avoid redundant lookups previously performed by cifs_print_status(),
which is now removed.
Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/telephony/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
