linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: David Laight <David.Laight@aculab.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Yury Norov <yury.norov@gmail.com>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: oe-kbuild-all@lists.linux.dev,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>,
	Masahiro Yamada <masahiroy@kernel.org>,
	'Vincent Mailhol' <mailhol.vincent@wanadoo.fr>
Subject: Re: [PATCH next] linux/bits.h: Simplify GENMASK()
Date: Mon, 16 Dec 2024 12:03:45 +0800	[thread overview]
Message-ID: <202412161103.LytYDSSl-lkp@intel.com> (raw)
In-Reply-To: <8423d75207f64e4081f0019601b4a016@AcuMS.aculab.com>

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412161103.LytYDSSl-lkp@intel.com/

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


      parent reply	other threads:[~2024-12-16  4:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <8423d75207f64e4081f0019601b4a016@AcuMS.aculab.com>
2024-12-15 23:28 ` kernel test robot
2024-12-16  4:03 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202412161103.LytYDSSl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=David.Laight@aculab.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=mailhol.vincent@wanadoo.fr \
    --cc=masahiroy@kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=yury.norov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox