diff options
author | Mark Brown <broonie@kernel.org> | 2023-08-18 22:46:19 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-08-18 22:46:19 +0100 |
commit | ab4724302feedcd33633fd409667a8ee0016f13d (patch) | |
tree | 245c7082ca66780da02df0b7cedc91a5090b795f /lib/test_bitmap.c | |
parent | 46f53bde6e69edf8a2e0943babb3f160b30ee436 (diff) | |
parent | ef75e767167a8f30c7690bc4689dba76329ee06e (diff) |
Add cs42l43 PC focused SoundWire CODEC
Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:
This patch chain adds support for the Cirrus Logic cs42l43 PC focused
SoundWire CODEC.
Diffstat (limited to 'lib/test_bitmap.c')
-rw-r--r-- | lib/test_bitmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/test_bitmap.c b/lib/test_bitmap.c index 187f5b2db4cf..f2ea9f30c7c5 100644 --- a/lib/test_bitmap.c +++ b/lib/test_bitmap.c @@ -1161,6 +1161,10 @@ static void __init test_bitmap_print_buf(void) } } +/* + * FIXME: Clang breaks compile-time evaluations when KASAN and GCOV are enabled. + * To workaround it, GCOV is force-disabled in Makefile for this configuration. + */ static void __init test_bitmap_const_eval(void) { DECLARE_BITMAP(bitmap, BITS_PER_LONG); @@ -1186,11 +1190,7 @@ static void __init test_bitmap_const_eval(void) * the compiler is fixed. */ bitmap_clear(bitmap, 0, BITS_PER_LONG); -#if defined(__s390__) && defined(__clang__) - if (!const_test_bit(7, bitmap)) -#else if (!test_bit(7, bitmap)) -#endif bitmap_set(bitmap, 5, 2); /* Equals to `unsigned long bitopvar = BIT(20)` */ |