Re: [PATCH next] linux/bits.h: Simplify GENMASK()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]
[also build test ERROR on linus/master v6.13-rc3]
[cannot apply to next-20241213 next-20241213]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/David-Laight/linux-bits-h-Simplify-GENMASK/20241216-040445
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/8423d75207f64e4081f0019601b4a016%40AcuMS.aculab.com
patch subject: [PATCH next] linux/bits.h: Simplify GENMASK()
config: loongarch-randconfig-001-20241216 (https://download.01.org/0day-ci/archive/20241216/202412161103.LytYDSSl-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241216/202412161103.LytYDSSl-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412161103.LytYDSSl-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from lib/test_bits.c:6:
   lib/test_bits.c: In function 'genmask_u128_test':
>> include/uapi/linux/bits.h:15:44: error: '__uint128' undeclared (first use in this function); did you mean '__int128'?
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                            ^~~~~~~~~
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:15:44: note: each undeclared identifier is reported only once for each function it appears in
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                            ^~~~~~~~~
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:46:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:46:54: note: in expansion of macro 'GENMASK_U128'
      46 |         KUNIT_EXPECT_EQ(test, 0x0000000000000001ull, GENMASK_U128(0, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:47:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:47:54: note: in expansion of macro 'GENMASK_U128'
      47 |         KUNIT_EXPECT_EQ(test, 0x0000000000000003ull, GENMASK_U128(1, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:48:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:48:54: note: in expansion of macro 'GENMASK_U128'
      48 |         KUNIT_EXPECT_EQ(test, 0x0000000000000006ull, GENMASK_U128(2, 1));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:49:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:49:54: note: in expansion of macro 'GENMASK_U128'
      49 |         KUNIT_EXPECT_EQ(test, 0x00000000ffffffffull, GENMASK_U128(31, 0));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                      ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
>> include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:12: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:9:44: note: to match this '('
       9 |         ((((one) << (hi)) - 1) * 2 + 1 - (((one) << (lo)) - 1))
         |                                            ^
   include/kunit/test.h:774:40: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \
         |                                        ^~~~~
   include/kunit/test.h:969:9: note: in expansion of macro 'KUNIT_BINARY_INT_ASSERTION'
     969 |         KUNIT_BINARY_INT_ASSERTION(test,                                       \
         |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/kunit/test.h:966:9: note: in expansion of macro 'KUNIT_EXPECT_EQ_MSG'
     966 |         KUNIT_EXPECT_EQ_MSG(test, left, right, NULL)
         |         ^~~~~~~~~~~~~~~~~~~
   lib/test_bits.c:50:9: note: in expansion of macro 'KUNIT_EXPECT_EQ'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |         ^~~~~~~~~~~~~~~
   include/uapi/linux/bits.h:15:32: note: in expansion of macro '___GENMASK'
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                ^~~~~~~~~~
   include/linux/bits.h:33:40: note: in expansion of macro '__GENMASK_U128'
      33 |         (GENMASK_INPUT_CHECK(hi, lo) + __GENMASK_U128(hi, lo))
         |                                        ^~~~~~~~~~~~~~
   lib/test_bits.c:50:54: note: in expansion of macro 'GENMASK_U128'
      50 |         KUNIT_EXPECT_EQ(test, 0x000000ffffe00000ull, GENMASK_U128(39, 21));
         |                                                      ^~~~~~~~~~~~
   include/uapi/linux/bits.h:15:54: error: expected ')' before numeric constant
      15 | #define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
         |                                                      ^
   include/kunit/test.h:774:22: note: in definition of macro 'KUNIT_BASE_BINARY_ASSERTION'
     774 |         const typeof(right) __right = (right);                                 \


vim +15 include/uapi/linux/bits.h

    14	
  > 15	#define __GENMASK_U128(hi, lo) ___GENMASK((__uint128)1, hi, lo)
    16	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux