From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91D52E7717F for ; Mon, 16 Dec 2024 04:04:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D2E406B007B; Sun, 15 Dec 2024 23:04:29 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CDD476B0082; Sun, 15 Dec 2024 23:04:29 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B57636B0085; Sun, 15 Dec 2024 23:04:29 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 8E9956B007B for ; Sun, 15 Dec 2024 23:04:29 -0500 (EST) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id EC871804C1 for ; Mon, 16 Dec 2024 04:04:28 +0000 (UTC) X-FDA: 82899478200.17.616CF7B Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by imf03.hostedemail.com (Postfix) with ESMTP id 6B9B920008 for ; Mon, 16 Dec 2024 04:04:12 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jTgR5QxO; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 198.175.65.11 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1734321844; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Wig6KWAqAU86qSOtBXM8v9QaRUe/kQG3fApaEm03Ll8=; b=v37lcOTwiTD1lQfupWcdkxM412sfMz1739Tmz6FeFTvfxtaC+fCJHp4heZETB/NX/G1icb erObEJXke0iRiDKiBE1mF6pCjV0Yik6wMLT2ZWTRxMeicV+5lA+5HmRpibRblIvwXE9GR1 BKrpiaWcmT3fDegbgtFBH+3h6cFJbMw= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=jTgR5QxO; spf=pass (imf03.hostedemail.com: domain of lkp@intel.com designates 198.175.65.11 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1734321844; a=rsa-sha256; cv=none; b=NSKxlamPf82/MZT6gkF6eoQCL8uStgEM+GGdhs0brHj/m+WmZB6Rp0NhWcBjQ2EzUhSCTO EnCOUxDlU4xH77rpTc9jCekj7/xuCok4rccC4bOIfUe9n8WIwaUWb5i1JEsWiZ0Verj3KL ww8juxhLcUO+/k9+Jq1/2Cdk2VJf9jQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1734321866; x=1765857866; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=AUk/DQTmCIpzURbFH8PpGJ5xSZa/W5kaO65osDTlhOQ=; b=jTgR5QxOaY7wbg7ZO7MXfQ2U3CbjuIN9DENm53Am4dGxoEcpyd9cxOmD 4UOwYliKrV6x/OZPNqIqV+XbWvvi0Je2quiVx8RFl/7JiVoBg1BmotrPU R6V6I35U/hXyV2k6kkTM6PJJVpQIm4/qlRdrD8OteAkqJMugO/9lnOLGh G9qs1n6DuhKQ1Y32YTJtzidImBciu0CBhSySMnF0a0T+gDPz86MQ3D2e3 jG/gZz/YORh8b/ZOXm6m4poo7kNAG1/YARzcXyQeSKYs+Mbdmvvwk2i66 h2jSA2v0tqhNIsB6IPEMF/Z8d2Xk7/WMGGDQvf5ZwHdnhqIxfs27gLuIQ Q==; X-CSE-ConnectionGUID: hq3ggDJXQn+VpWcjlxbJhQ== X-CSE-MsgGUID: BC8ydOgnS5qDDjtFACnSrg== X-IronPort-AV: E=McAfee;i="6700,10204,11282"; a="45179677" X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="45179677" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Dec 2024 20:04:23 -0800 X-CSE-ConnectionGUID: g/d/Dm8vTCejdKyhqL8NDw== X-CSE-MsgGUID: 4OmRXktUSwOZ+YnPSzln+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,237,1728975600"; d="scan'208";a="97130290" Received: from lkp-server01.sh.intel.com (HELO 82a3f569d0cb) ([10.239.97.150]) by orviesa006.jf.intel.com with ESMTP; 15 Dec 2024 20:04:20 -0800 Received: from kbuild by 82a3f569d0cb with local (Exim 4.96) (envelope-from ) id 1tN2LC-000E0L-0h; Mon, 16 Dec 2024 04:04:18 +0000 Date: Mon, 16 Dec 2024 12:03:45 +0800 From: kernel test robot To: David Laight , "linux-kernel@vger.kernel.org" , Yury Norov , Rasmus Villemoes Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List , Masahiro Yamada , 'Vincent Mailhol' Subject: Re: [PATCH next] linux/bits.h: Simplify GENMASK() Message-ID: <202412161103.LytYDSSl-lkp@intel.com> References: <8423d75207f64e4081f0019601b4a016@AcuMS.aculab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8423d75207f64e4081f0019601b4a016@AcuMS.aculab.com> X-Rspamd-Queue-Id: 6B9B920008 X-Rspamd-Server: rspam12 X-Stat-Signature: 5kurqsdp9dnqm3mno8rtno5actsjypyt X-Rspam-User: X-HE-Tag: 1734321852-181813 X-HE-Meta: U2FsdGVkX19DCZ6QslbyMisyoE91X2+sbONAslZ7kTvt13PE1rc8EhVUQI52Epc4uUwm172PvlBNA/TRqFytteSdFWrLcgr2ARe93ckNO/rQcEpDPIgiO+47ZGCcr70gee0qLd6x7bQaDg7JMsRyRT8wXplh6PB92Dhz/xCl/Uuo6kN8AZU8m2Zm6ZzTYfdooE3DtJI0SZos7sAiRbj5cARZGUYjKTsMxhr/IPtWOO+bqAgSrL/rQebosr6vr/GHSC6SyjN41i+poLGgCNktd96izh2vNABomxq+XojraPRLxXN6qJCKM8apNbC9fz6ufk7MClrqGhUuf4bxlBPBboJn0PUNv8WgZwwfsd/HRMdS22hCmw5qaEzwrYcu5yaRHxzRS6dz5SqlHR5+75T/ypfymlJ9kbQNWB+hOLWG/L4iHvEhvvNbHrFayAvPsiGt9te4gxdzE360RN6BQ6TZmGNDnVolEdhRvEHSJeNugNWkEzqa8z0UlTjvdr4Y0zPD97LdBtSrCd5l9WW8By3N42y6rbsuKJ2g+EitRfWpFuEUIHX+Mz54rKUdc3t7GzCsCCK2Jh85KMcZgcmAAd1/ujdQG2hz0A+UcMk6zkcpGhuq8lje+0KoYPmTMwln/NPH9LQL/9lMU/FhvA/QEF/7FXhNjr5zPOL5i2ckVvPlhpyBO+iY/ZEhwdXpF2k2OGk+T2tDH7YKuAsDJ0jmcIrNcFlDDbB65JCF5C4sjYigYPg3OYSsjHhf8CUauTYQtjLvZ57RfU0AZEaRTCGHLuDzEs/wj/g+bnvEQMt5RbbdDNKg0A+egbD/tffBG7vkII2yj9cjxb3sCVVzjV5Gw8GkUhYXcPv9n3p6ucNaYInHprSoiWvNLIvLnBGicdLuzg00np50vWbW+2faBWS+jvpXNZdKWCZeWoaWmkc4Xm6uKZJ1d9xox7bBx0XjvVHcbhcim6TyQEl31ZFBIg7TE7t WZjLKdnm zHwHQqeHRkamM84MASLhSccA72OHzz66Mxg909gRASxOij1fZ/A86th9xOSPHysE7Rukt43Pe96opl/tLLipw3BgF6+i+6+39/eONyE3UIik2yV/e4AZ8feNMmRX8SM50ovTQFZkFYuOCIia5qb+HdP8hx9ywwG12GO/P1WWXTuQA3hyVJvzdPbR2THWxNgdUhC2ew+1DaIP/go65tcKH3flKE4d7L/tSoFSj7MsHgLkr0S0Kal2SEunmC/4XfX/loOwVKqs7e74iO0Rmsg/HOTtfWCZ+AonT/QewZ/LWs2dWQjzQUf3oD56l7j315WQfuYwz0gmhNy7WjIILlnzibu+6lOOnO2hgW/J6iJ72jzzIEiblUkx5Y8xQhV6vsOMvbceZzzJuWh8h1ZheyshLaCOMlCmLEsSByrnaAlSDiq76FVC6IMpvVVrAvIo2WKCKyskwS+0JnyBnp9sGg48q3ZO0wmvC/pZBW6gLQBHK+ukcPoq5l0NoLj5nh3mY0DpLPY2ZW3f2K1tWuOI= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 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 | 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