summaryrefslogtreecommitdiff
path: root/drivers/telephony/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHuiwen He <hehuiwen@kylinos.cn>2026-04-02 14:18:31 +0000
committerSteve French <stfrench@microsoft.com>2026-04-05 19:58:40 -0500
commit3c6c23ed9424cfd5a648863dc058c52094b1b99d (patch)
treef7329bde0cee012dcb858c5ee39d78b327e9dfe8 /drivers/telephony/git@git.tavy.me:linux.git
parent772d5920c3d417fc4ba44c0b6fb61ca4f19f5809 (diff)
smb/client: use binary search for NT status to DOS mapping
The ntstatus_to_dos_map[] table is sorted now. Replace the linear search with binary search to improve lookup performance. Also remove the sentinel entry as it is no longer needed with ARRAY_SIZE(). 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