diff options
| author | Youling Tang <tangyouling@kylinos.cn> | 2026-04-02 14:18:33 +0000 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-04-05 19:58:40 -0500 |
| commit | e3ac6352a84d9ddc39a5772796032a852033ed92 (patch) | |
| tree | 1d8a300faf895cc413b33e15e216aa3cc7955fec /arch/ppc/boot/lib/git@git.tavy.me:linux.git | |
| parent | 010ad1e895dbe269ab4f97b3e5245deefcc6205f (diff) | |
smb/client: introduce KUnit test to check ntstatus_to_dos_map search
Check whether all elements can be correctly found in the array.
Introduce CONFIG_SMB1_KUNIT_TESTS for smb1maperror_test.ko since
smb1maperror.o is only built when CONFIG_CIFS_ALLOW_INSECURE_LEGACY
is enabled.
We are going to define 3 functions to check the search results, introduce
the macro DEFINE_CHECK_SEARCH_FUNC() to reduce duplicate code.
Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'arch/ppc/boot/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
