.pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: error: no member named 'reserved_at_1a0' in 'mlx5_ifc_fte_match_set_misc2_bits' 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^ ~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:106:25: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 106 | (((sz_in_bits) > 32) ? HWS_IS_FLD_SET_DW_ARR(match_param, hdr, sz_in_bits) : \ | ^ ~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:97:16: note: expanded from macro 'HWS_IS_FLD_SET_DW_ARR' 97 | u32 dw_off = __mlx5_dw_off(fte_match_param, hdr); \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: error: no member named 'reserved_at_1a0' in 'mlx5_ifc_fte_match_set_misc2_bits' 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^ ~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ~~~ ../include/linux/mlx5/device.h:96:62: note: expanded from macro 'MLX5_GET' 96 | #define MLX5_GET(typ, p, fld) ((be32_to_cpu(*((__be32 *)(p) +\ | ^ 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:41:59: note: expanded from macro '__be32_to_cpu' 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:55: error: no member named 'reserved_at_1a0' in 'struct mlx5_ifc_fte_match_set_misc2_bits'; did you mean 'reserved_at_1c0'? 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^~~~~~~~~~~~~~~ | reserved_at_1c0 ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:47: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:41: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ../include/linux/mlx5/device.h:97:53: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_bit_off' 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/linux/mlx5/mlx5_ifc.h:701:13: note: 'reserved_at_1c0' declared here 701 | u8 reserved_at_1c0[0x40]; | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: error: no member named 'reserved_at_1a0' in 'mlx5_ifc_fte_match_set_misc2_bits' 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^ ~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ~~~ ../include/linux/mlx5/device.h:97:30: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_bit_off' 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:55: error: no member named 'reserved_at_1a0' in 'struct mlx5_ifc_fte_match_set_misc2_bits'; did you mean 'reserved_at_1c0'? 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^~~~~~~~~~~~~~~ | reserved_at_1c0 ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:47: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:41: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ../include/linux/mlx5/device.h:98:18: note: expanded from macro 'MLX5_GET' 98 | __mlx5_mask(typ, fld)) | ^ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/linux/mlx5/mlx5_ifc.h:701:13: note: 'reserved_at_1c0' declared here 701 | u8 reserved_at_1c0[0x40]; | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: warning: shift count >= width of type [-Wshift-count-overflow] 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1283:6: warning: shift count >= width of type [-Wshift-count-overflow] 1283 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1c0, 0x40) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:27: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1283:6: warning: shift count >= width of type [-Wshift-count-overflow] 1283 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1c0, 0x40) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1586:6: warning: shift count >= width of type [-Wshift-count-overflow] 1586 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_4.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:27: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1586:6: warning: shift count >= width of type [-Wshift-count-overflow] 1586 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_4.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1636:6: warning: shift count >= width of type [-Wshift-count-overflow] 1636 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_5.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:27: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1636:6: warning: shift count >= width of type [-Wshift-count-overflow] 1636 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_5.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings and 5 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:554: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:554: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2 .pylintrc: warning: ignored by one of the .gitignore files ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: error: no member named 'reserved_at_1a0' in 'mlx5_ifc_fte_match_set_misc2_bits' 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^ ~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:106:25: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 106 | (((sz_in_bits) > 32) ? HWS_IS_FLD_SET_DW_ARR(match_param, hdr, sz_in_bits) : \ | ^ ~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:97:16: note: expanded from macro 'HWS_IS_FLD_SET_DW_ARR' 97 | u32 dw_off = __mlx5_dw_off(fte_match_param, hdr); \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: error: no member named 'reserved_at_1a0' in 'mlx5_ifc_fte_match_set_misc2_bits' 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^ ~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ~~~ ../include/linux/mlx5/device.h:96:62: note: expanded from macro 'MLX5_GET' 96 | #define MLX5_GET(typ, p, fld) ((be32_to_cpu(*((__be32 *)(p) +\ | ^ 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:41:59: note: expanded from macro '__be32_to_cpu' 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:55: error: no member named 'reserved_at_1a0' in 'struct mlx5_ifc_fte_match_set_misc2_bits'; did you mean 'reserved_at_1c0'? 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^~~~~~~~~~~~~~~ | reserved_at_1c0 ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:47: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:41: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ../include/linux/mlx5/device.h:97:53: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_bit_off' 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/linux/mlx5/mlx5_ifc.h:701:13: note: 'reserved_at_1c0' declared here 701 | u8 reserved_at_1c0[0x40]; | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: error: no member named 'reserved_at_1a0' in 'mlx5_ifc_fte_match_set_misc2_bits' 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^ ~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ~~~ ../include/linux/mlx5/device.h:97:30: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_bit_off' 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:55: error: no member named 'reserved_at_1a0' in 'struct mlx5_ifc_fte_match_set_misc2_bits'; did you mean 'reserved_at_1c0'? 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^~~~~~~~~~~~~~~ | reserved_at_1c0 ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:47: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:41: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^ ../include/linux/mlx5/device.h:98:18: note: expanded from macro 'MLX5_GET' 98 | __mlx5_mask(typ, fld)) | ^ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/linux/mlx5/mlx5_ifc.h:701:13: note: 'reserved_at_1c0' declared here 701 | u8 reserved_at_1c0[0x40]; | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1281:6: warning: shift count >= width of type [-Wshift-count-overflow] 1281 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1a0, 0x8) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1283:6: warning: shift count >= width of type [-Wshift-count-overflow] 1283 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1c0, 0x40) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:27: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1283:6: warning: shift count >= width of type [-Wshift-count-overflow] 1283 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_2.reserved_at_1c0, 0x40) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1586:6: warning: shift count >= width of type [-Wshift-count-overflow] 1586 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_4.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:27: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1586:6: warning: shift count >= width of type [-Wshift-count-overflow] 1586 | if (HWS_IS_FLD_SET_SZ(match_param, misc_parameters_4.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1636:6: warning: shift count >= width of type [-Wshift-count-overflow] 1636 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_5.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:27: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:1636:6: warning: shift count >= width of type [-Wshift-count-overflow] 1636 | HWS_IS_FLD_SET_SZ(match_param, misc_parameters_5.reserved_at_100, 0x100)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:107:14: note: expanded from macro 'HWS_IS_FLD_SET_SZ' 107 | !!(HWS_GET_MATCH_PARAM(match_param, hdr))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:88:2: note: expanded from macro 'HWS_GET_MATCH_PARAM' 88 | MLX5_GET(fte_match_param, match_param, hdr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:97:61: note: expanded from macro 'MLX5_GET' 97 | __mlx5_dw_off(typ, fld))) >> __mlx5_dw_bit_off(typ, fld)) & \ | ^ 98 | __mlx5_mask(typ, fld)) | ~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:44: note: expanded from macro '\ __mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 7 warnings and 5 errors generated. make[8]: *** [../scripts/Makefile.build:287: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.o] Error 1 make[8]: *** Waiting for unfinished jobs.... make[7]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:554: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:554: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:554: drivers/net] Error 2 make[3]: *** [../scripts/Makefile.build:554: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-1/Makefile:2003: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-1/Makefile:248: __sub-make] Error 2 make: *** [Makefile:248: __sub-make] Error 2