diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2025-03-26 01:00:00 +0900 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2025-04-29 15:58:38 -0400 |
commit | 0405eef6c3bc7d3322f8ceb11a25ad2bea5559f9 (patch) | |
tree | f3f227895565dd59d893d5294e402a22c9a25807 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4fd225f7adbce0cc9204e918758158fa8eb07b33 (diff) |
test_bits: add tests for GENMASK_U*()
Add some additional tests in lib/tests/test_bits.c to cover the
expected/non-expected values of the fixed-type GENMASK_U*() macros.
Also check that the result value matches the expected type. Since
those are known at build time, use static_assert() instead of normal
kunit tests.
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions