diff options
| author | Sergio González Collado <[email protected]> | 2025-03-02 22:15:18 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2025-03-16 00:13:31 +0000 |
| commit | c104c16073b7fdb3e4eae18f66f4009f6b073d6f (patch) | |
| tree | 1d49dc244e46baf70efd6ef9fb021b70c3064b4e /lib/crypto/mpi/mpi-add.c | |
| parent | kunit: Clarify kunit_skip() argument name (diff) | |
| download | kernel-c104c16073b7fdb3e4eae18f66f4009f6b073d6f.tar.gz kernel-c104c16073b7fdb3e4eae18f66f4009f6b073d6f.zip | |
Kunit to check the longest symbol length
The longest length of a symbol (KSYM_NAME_LEN) was increased to 512
in the reference [1]. This patch adds kunit test suite to check the longest
symbol length. These tests verify that the longest symbol length defined
is supported.
This test can also help other efforts for longer symbol length,
like [2].
The test suite defines one symbol with the longest possible length.
The first test verify that functions with names of the created
symbol, can be called or not.
The second test, verify that the symbols are created (or
not) in the kernel symbol table.
[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/lkml/[email protected]/
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Martin Rodriguez Reboredo <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Reviewed-by: Rae Moar <[email protected]>
Signed-off-by: Sergio González Collado <[email protected]>
Link: https://github.com/Rust-for-Linux/linux/issues/504
Reviewed-by: Rae Moar <[email protected]>
Acked-by: David Gow <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
