From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796231301; b=3y80XUGyI5oH/7x4sVCF3QfXgCV2TaxgqK4mvJgCfGv16cPhGstxtRcLg2wgS4dH6FbM K3LL7Pxd2y6SdBooTV7AFGRNN4vS/kvyMVnjwJVQuTKYDrl75uObxvsPXoKGUs+WhJJvB 7YLisTsK/EoenJSe4YCZptEjaC6arC0EuI+z9cw4V4iHAIN0MZ7C7/4na2MFfvOhffsBW ByjmjZOZ3kOpy4YXJsJgf8hQajcSkzQO8UUrKVR4aTf1t2X9uH5l4//vJe4SNYdxUNZcQ kPspdgPYWGp0PDoOZmGg2ZY6wnbpRh7mxlqu2SgNsTe0PgEAbdqgKrO8f9Z7s2g+s2g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796231301; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:User-Agent; bh=Lttq0f3fHmTZgOgYpflc/BHYB1jcRCeiywLj+eO7hSw=; b=BKBM/yH/diAuWL2zrN3oijYMdXUbGWhcR++gEy3DxMQlHaD6VdOo5ghqef/pt/fCgIBJ J7V16wNThDVclu80yK5AqMV0cM6uHzAFkX3vAsdiA0mbNE0gaixuoVXzhGS4WfEjnIjpC LCxGDa4w1whWBhE1COSR143JxYNfGC8afNzmJbXYyYV4cAHEMqtzKRKkAaq8fH1BpohLj 2mOf3AI9rO+AeBCa8n3E/og4Vcg7gxfcwtYP6leg5HAXvP700japav615o2EqUdPXQpZY a0BCqQ1OrZMzijTxvsLNNKFpHgvJgv8y34AXwMmKDwSSxwPCsk/H50ck2X/Cu0hzgbA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=NhzLu9dX; arc=none smtp.remote-ip=192.198.163.11 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAA7E606A325 for ; Wed, 2 Dec 2026 17:08:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BAA7E606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=NhzLu9dX DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796231301; x=1827767301; h=date:from:to:cc:subject:message-id; bh=Lttq0f3fHmTZgOgYpflc/BHYB1jcRCeiywLj+eO7hSw=; b=NhzLu9dXkE3Jl6Oz8Th2GssFSxp18LJKWdGfGvWAHBaWlVYEP2rMDUVU N9ZtqdX0YfQ/DiY6Vz/X0O93wlJvcBue7fjhZDPTPN2i5AF7qtFKXaniW ZS9PanWXgLrqA0lZYp8KZhNJS5NcWAUEfa6243dGHQmtpxSxZp4NZem1h ncFuVsAZQFW9+4+oBe5CTJJ/6gvjDypL70z1gCUnY+IAXGL1NguHD6sIn bhNWCxsvpc9hd0Aa03qqnJKp3qB1Rkqu7KrdyoTa3CjxNheqAYONMMaSI pQoFmDrVQrPC3Q0CyiX8y4GKjaCCF/oyWKbeA0q6tddgQ3VoxcB92emzk A==; X-CSE-ConnectionGUID: GesF6l8QQgu/QZZx/w7U0w== X-CSE-MsgGUID: AQwq44EgRIiIUaVW7aU3lg== X-IronPort-AV: E=McAfee;i="6800,10657,11984"; a="5074053" X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="5074053" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2026 09:08:20 -0800 X-CSE-ConnectionGUID: /sVIFcoUS/6ma8cQjENVcQ== X-CSE-MsgGUID: vjbBktTsRvGZmhiawwyjyQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,247,1787036400"; d="scan'208";a="13439917" Received: from igk-lkp-server01.igk.intel.com (HELO 146cf1e082f1) ([10.211.93.152]) by orviesa003.jf.intel.com with ESMTP; 02 Dec 2026 09:08:17 -0800 Received: from kbuild by 146cf1e082f1 with local (Exim 4.98.2) (envelope-from ) id 1xYnoV-0000000035u-0cjY; Wed, 02 Dec 2026 17:08:15 +0000 Date: Wed, 02 Dec 2026 18:07:41 +0100 From: kernel test robot To: Dragos Tatulea Cc: oe-kbuild-all@lists.linux.dev, Doug Ledford , Jason Gunthorpe , linux-rdma@vger.kernel.org, Leon Romanovsky , Tariq Toukan , Yishai Hadas Subject: [rdma:wip/leon-for-next 115/135] include/linux/stddef.h:16:33: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' Message-ID: <20261202180517.K0eg7jvn-lkp@intel.com> User-Agent: s-nail v14.9.25 X-Mailing-List: linux-rdma@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list tree: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git wip/leon-for-next head: dbdfbc3279f441150311e80fe5fd1ddf175c4835 commit: ff25d5711f4d3bc1cb7af7b19c5ca2d224f8c2f8 [115/135] net/mlx5: Add capability filtering in adversarial mode config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20261202/20261202180517.K0eg7jvn-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202180517.K0eg7jvn-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/20261202180517.K0eg7jvn-lkp@intel.com/ Note: the rdma/wip/leon-for-next HEAD dbdfbc3279f441150311e80fe5fd1ddf175c4835 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): In file included from include/linux/mlx5/device.h:39, from drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:4: drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c: In function 'mlx5_adversarial_filter_general': >> include/linux/stddef.h:16:33: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro '__swab32' 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^~~~~~~~ include/linux/byteorder/generic.h:95:21: note: in expansion of macro '__be32_to_cpu' 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:19:34: note: in expansion of macro '__mlx5_bit_off' 19 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:63:1: note: in expansion of macro '__mlx5_dw_off' 63 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/mlx5/mlx5_ifc_macros.h:16:57: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/linux/mlx5/mlx5_ifc_macros.h:22:43: note: in expansion of macro '__mlx5_bit_sz' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:63:30: note: in expansion of macro '__mlx5_dw_bit_off' 63 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:70: note: in expansion of macro '__mlx5_bit_off' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:63:30: note: in expansion of macro '__mlx5_dw_bit_off' 63 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/mlx5/mlx5_ifc_macros.h:16:57: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/linux/mlx5/mlx5_ifc_macros.h:23:47: note: in expansion of macro '__mlx5_bit_sz' 23 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:64:1: note: in expansion of macro '__mlx5_mask' 64 | __mlx5_mask(typ, fld)) | ^~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ In file included from include/uapi/linux/posix_types.h:5, from include/uapi/linux/types.h:14, from include/linux/types.h:5, from include/linux/mlx5/device.h:36: >> include/linux/stddef.h:16:33: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:19:34: note: in expansion of macro '__mlx5_bit_off' 19 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:43:27: note: in expansion of macro '__mlx5_dw_off' 43 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ In file included from include/linux/swab.h:5, from include/uapi/linux/byteorder/little_endian.h:14, from include/linux/byteorder/little_endian.h:5, from arch/x86/include/uapi/asm/byteorder.h:5, from include/asm-generic/qrwlock_types.h:6, from arch/x86/include/asm/spinlock_types.h:7, from include/linux/spinlock_types_raw.h:7, from include/linux/ratelimit_types.h:7, from include/linux/printk.h:9, from include/asm-generic/bug.h:31, from arch/x86/include/asm/bug.h:195, from arch/x86/include/asm/alternative.h:9, from arch/x86/include/asm/barrier.h:5, from include/asm-generic/bitops/generic-non-atomic.h:7, from include/linux/bitops.h:28, from include/linux/bitmap.h:8, from include/linux/ethtool.h:16, from include/rdma/ib_verbs.h:15, from include/linux/mlx5/device.h:37: >> include/linux/stddef.h:16:33: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro '__swab32' 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^~~~~~~~ include/linux/byteorder/generic.h:95:21: note: in expansion of macro '__be32_to_cpu' 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:19:34: note: in expansion of macro '__mlx5_bit_off' 19 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:44:52: note: in expansion of macro '__mlx5_dw_off' 44 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/mlx5/mlx5_ifc_macros.h:16:57: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:23:47: note: in expansion of macro '__mlx5_bit_sz' 23 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:24:35: note: in expansion of macro '__mlx5_mask' 24 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:24: note: in expansion of macro '__mlx5_dw_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/mlx5/mlx5_ifc_macros.h:16:57: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:43: note: in expansion of macro '__mlx5_bit_sz' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:24:60: note: in expansion of macro '__mlx5_dw_bit_off' 24 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:24: note: in expansion of macro '__mlx5_dw_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:70: note: in expansion of macro '__mlx5_bit_off' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:24:60: note: in expansion of macro '__mlx5_dw_bit_off' 24 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:24: note: in expansion of macro '__mlx5_dw_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/mlx5/mlx5_ifc_macros.h:16:57: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:23:47: note: in expansion of macro '__mlx5_bit_sz' 23 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:62: note: in expansion of macro '__mlx5_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/mlx5/mlx5_ifc_macros.h:16:57: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:43: note: in expansion of macro '__mlx5_bit_sz' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:46:25: note: in expansion of macro '__mlx5_dw_bit_off' 46 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> include/linux/stddef.h:16:33: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'order_write_after_write_umr' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:70: note: in expansion of macro '__mlx5_bit_off' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:46:25: note: in expansion of macro '__mlx5_dw_bit_off' 46 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:78:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 78 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, order_write_after_write_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro '__swab32' 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^~~~~~~~ include/linux/byteorder/generic.h:95:21: note: in expansion of macro '__be32_to_cpu' 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:19:34: note: in expansion of macro '__mlx5_bit_off' 19 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:63:1: note: in expansion of macro '__mlx5_dw_off' 63 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/linux/mlx5/mlx5_ifc_macros.h:22:43: note: in expansion of macro '__mlx5_bit_sz' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:63:30: note: in expansion of macro '__mlx5_dw_bit_off' 63 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:70: note: in expansion of macro '__mlx5_bit_off' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:63:30: note: in expansion of macro '__mlx5_dw_bit_off' 63 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:41:18: note: in definition of macro 'MLX5_SET' 41 | u32 _v = v; \ | ^ include/linux/mlx5/mlx5_ifc_macros.h:23:47: note: in expansion of macro '__mlx5_bit_sz' 23 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:64:1: note: in expansion of macro '__mlx5_mask' 64 | __mlx5_mask(typ, fld)) | ^~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:33: note: in expansion of macro 'MLX5_GET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/stddef.h:16:58: note: in definition of macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:19:34: note: in expansion of macro '__mlx5_bit_off' 19 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:43:27: note: in expansion of macro '__mlx5_dw_off' 43 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro '__swab32' 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^~~~~~~~ include/linux/byteorder/generic.h:95:21: note: in expansion of macro '__be32_to_cpu' 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:19:34: note: in expansion of macro '__mlx5_bit_off' 19 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:44:52: note: in expansion of macro '__mlx5_dw_off' 44 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:23:47: note: in expansion of macro '__mlx5_bit_sz' 23 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:24:35: note: in expansion of macro '__mlx5_mask' 24 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:24: note: in expansion of macro '__mlx5_dw_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ >> drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:43: note: in expansion of macro '__mlx5_bit_sz' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:24:60: note: in expansion of macro '__mlx5_dw_bit_off' 24 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:24: note: in expansion of macro '__mlx5_dw_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:17:35: note: in expansion of macro 'offsetof' 17 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:70: note: in expansion of macro '__mlx5_bit_off' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:24:60: note: in expansion of macro '__mlx5_dw_bit_off' 24 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:24: note: in expansion of macro '__mlx5_dw_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:23:47: note: in expansion of macro '__mlx5_bit_sz' 23 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:45:62: note: in expansion of macro '__mlx5_mask' 45 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:22:43: note: in expansion of macro '__mlx5_bit_sz' 22 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ include/linux/mlx5/mlx5_ifc_macros.h:46:25: note: in expansion of macro '__mlx5_dw_bit_off' 46 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:10:9: note: in expansion of macro 'MLX5_SET' 10 | MLX5_SET(cap, dst, fld, MLX5_GET(cap, src, fld)) | ^~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:9: note: in expansion of macro 'MLX5_HCA_CAP_ALLOW' 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~ drivers/net/ethernet/mellanox/mlx5/core/caps_filter.c:79:41: error: 'struct mlx5_ifc_cmd_hca_cap_bits' has no member named 'pci_relaxed_ordered_read_umr'; did you mean 'relaxed_ordering_read_umr'? 79 | MLX5_HCA_CAP_ALLOW(cmd_hca_cap, pci_relaxed_ordered_read_umr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/uapi/linux/swab.h:115:54: note: in definition of macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ include/linux/byteorder/generic.h:94:21: note: in expansion of macro '__cpu_to_be32' 94 | #define cpu_to_be32 __cpu_to_be32 .. vim +16 include/linux/stddef.h 6e2182874324727 Richard Knutsson 2006-09-30 14 ^1da177e4c3f415 Linus Torvalds 2005-04-16 15 #undef offsetof 14e83077d55ff4b Rasmus Villemoes 2022-03-23 @16 #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) 3876488444e7123 Denys Vlasenko 2015-03-09 17 :::::: The code at line 16 was first introduced by commit :::::: 14e83077d55ff4b88fe39f5e98fb8230c2ccb4fb include: drop pointless __compiler_offsetof indirection :::::: TO: Rasmus Villemoes :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki