1. Pull latest rc tag from Linux tree (https://github.com/torvalds/linux/tree/v6.11-rc6)
2. Try to compile with 5.17.4
3. Watch it go kaboom with error noted in logs below
Expected Behavior
It compiles
Actual Behavior
It does not compile
Additional Data
Using mockbuild environment with el8 based userspace, and distro compiler (GCC 8.5 distro managed)
Relevant log output
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_82599.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_api.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_api.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_82599.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_api.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_api.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_common.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_common.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_common.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_common.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_lib.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_lib.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_82599.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_82599.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_mbx.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_mbx.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_api.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_phy.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_api.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_phy.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x540.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x540.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x540.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x540.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_82598.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_82598.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x550.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x550.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x550.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x550.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_82598.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_82598.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_sriov.c:15:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/cpumask.h:11,
[ixgbe] from ./arch/x86/include/asm/cpumask.h:5,
[ixgbe] from ./arch/x86/include/asm/msr.h:11,
[ixgbe] from ./arch/x86/include/asm/tsc.h:10,
[ixgbe] from ./arch/x86/include/asm/timex.h:6,
[ixgbe] from ./include/linux/timex.h:67,
[ixgbe] from ./include/linux/time32.h:13,
[ixgbe] from ./include/linux/time.h:60,
[ixgbe] from ./include/linux/stat.h:19,
[ixgbe] from ./include/linux/module.h:13,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_sriov.c:5:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_e610.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/ioport.h:15,
[ixgbe] from ./include/linux/pci.h:31,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:11,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_e610.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_xsk.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_xsk.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_procfs.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_procfs.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c:18:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/cpumask.h:11,
[ixgbe] from ./arch/x86/include/asm/cpumask.h:5,
[ixgbe] from ./arch/x86/include/asm/msr.h:11,
[ixgbe] from ./arch/x86/include/asm/tsc.h:10,
[ixgbe] from ./arch/x86/include/asm/timex.h:6,
[ixgbe] from ./include/linux/timex.h:67,
[ixgbe] from ./include/linux/time32.h:13,
[ixgbe] from ./include/linux/time.h:60,
[ixgbe] from ./include/linux/stat.h:19,
[ixgbe] from ./include/linux/module.h:13,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c:7:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_fw_update.c:13:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/cpumask.h:11,
[ixgbe] from ./include/linux/smp.h:13,
[ixgbe] from ./include/linux/lockdep.h:14,
[ixgbe] from ./include/linux/spinlock.h:63,
[ixgbe] from ./include/linux/mmzone.h:8,
[ixgbe] from ./include/linux/gfp.h:7,
[ixgbe] from ./include/linux/firmware.h:8,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/kcompat_pldmfw.h:21,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_fw_update.c:10:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_nl.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_nl.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_param.c:7:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/cpumask.h:11,
[ixgbe] from ./arch/x86/include/asm/cpumask.h:5,
[ixgbe] from ./arch/x86/include/asm/msr.h:11,
[ixgbe] from ./arch/x86/include/asm/tsc.h:10,
[ixgbe] from ./arch/x86/include/asm/timex.h:6,
[ixgbe] from ./include/linux/timex.h:67,
[ixgbe] from ./include/linux/time32.h:13,
[ixgbe] from ./include/linux/time.h:60,
[ixgbe] from ./include/linux/stat.h:19,
[ixgbe] from ./include/linux/module.h:13,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_param.c:5:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_main.c:31:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/cpumask.h:11,
[ixgbe] from ./arch/x86/include/asm/cpumask.h:5,
[ixgbe] from ./arch/x86/include/asm/msr.h:11,
[ixgbe] from ./arch/x86/include/asm/tsc.h:10,
[ixgbe] from ./arch/x86/include/asm/timex.h:6,
[ixgbe] from ./include/linux/timex.h:67,
[ixgbe] from ./include/linux/time32.h:13,
[ixgbe] from ./include/linux/time.h:60,
[ixgbe] from ./include/linux/stat.h:19,
[ixgbe] from ./include/linux/module.h:13,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_main.c:8:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_sysfs.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_sysfs.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_debugfs.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_debugfs.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ptp.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ptp.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:46,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/kcompat.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type_e610.h:63: error: "MIN_T" redefined [-Werror]
[ixgbe] #define MIN_T(_t, _a, _b) min((_t)(_a), (_t)(_b))
[ixgbe]
[ixgbe] In file included from ./include/linux/kernel.h:28,
[ixgbe] from ./include/linux/skbuff.h:13,
[ixgbe] from ./include/linux/ip.h:16,
[ixgbe] from ./include/net/ip.h:22,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/kcompat.c:4:
[ixgbe] ./include/linux/minmax.h:331: note: this is the location of the previous definition
[ixgbe] #define MIN_T(type,a,b) __cmp(min,(type)(a),(type)(b))
[ixgbe]
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/kcompat_impl.h:25,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/kcompat.h:7008,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_osdep.h:16,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_type.h:45,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.h:7,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe.h:24,
[ixgbe] from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.c:4:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.c:754:9: error: initialization of 'int (*)(struct devlink *, u32, struct devlink_param_gset_ctx *, struct netlink_ext_ack *)' {aka 'int (*)(struct devlink *, unsigned int, struct devlink_param_gset_ctx *, struct netlink_ext_ack *)'} from incompatible pointer type 'int (*)(struct devlink *, u32, struct devlink_param_gset_ctx *)' {aka 'int (*)(struct devlink *, unsigned int, struct devlink_param_gset_ctx *)'} [-Werror=incompatible-pointer-types]
[ixgbe] ixgbe_devlink_minsrev_set,
[ixgbe] ^~~~~~~~~~~~~~~~~~~~~~~~~
[ixgbe] ./include/net/devlink.h:599:9: note: in definition of macro 'DEVLINK_PARAM_DRIVER'
[ixgbe] .set = _set, \
[ixgbe] ^~~~
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.c:754:9: note: (near initialization for 'ixgbe_devlink_params[0].set')
[ixgbe] ixgbe_devlink_minsrev_set,
[ixgbe] ^~~~~~~~~~~~~~~~~~~~~~~~~
[ixgbe] ./include/net/devlink.h:599:9: note: in definition of macro 'DEVLINK_PARAM_DRIVER'
[ixgbe] .set = _set, \
[ixgbe] ^~~~
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.c:761:9: error: initialization of 'int (*)(struct devlink *, u32, struct devlink_param_gset_ctx *, struct netlink_ext_ack *)' {aka 'int (*)(struct devlink *, unsigned int, struct devlink_param_gset_ctx *, struct netlink_ext_ack *)'} from incompatible pointer type 'int (*)(struct devlink *, u32, struct devlink_param_gset_ctx *)' {aka 'int (*)(struct devlink *, unsigned int, struct devlink_param_gset_ctx *)'} [-Werror=incompatible-pointer-types]
[ixgbe] ixgbe_devlink_minsrev_set,
[ixgbe] ^~~~~~~~~~~~~~~~~~~~~~~~~
[ixgbe] ./include/net/devlink.h:599:9: note: in definition of macro 'DEVLINK_PARAM_DRIVER'
[ixgbe] .set = _set, \
[ixgbe] ^~~~
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.c:761:9: note: (near initialization for 'ixgbe_devlink_params[1].set')
[ixgbe] ixgbe_devlink_minsrev_set,
[ixgbe] ^~~~~~~~~~~~~~~~~~~~~~~~~
[ixgbe] ./include/net/devlink.h:599:9: note: in definition of macro 'DEVLINK_PARAM_DRIVER'
[ixgbe] .set = _set, \
[ixgbe] ^~~~
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_procfs.o] Error 1
[ixgbe] make[2]: *** Waiting for unfinished jobs....
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c: In function 'ixgbe_get_ts_info':
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c:4348:38: error: passing argument 2 of 'ethtool_op_get_ts_info' from incompatible pointer type [-Werror=incompatible-pointer-types]
[ixgbe] return ethtool_op_get_ts_info(dev, info);
[ixgbe] ^~~~
[ixgbe] In file included from /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c:10:
[ixgbe] ./include/linux/ethtool.h:1200:38: note: expected 'struct kernel_ethtool_ts_info *' but argument is of type 'struct ethtool_ts_info *'
[ixgbe] struct kernel_ethtool_ts_info *eti);
[ixgbe] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/kcompat.o] Error 1
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c: At top level:
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c:5022:18: error: initialization of 'int (*)(struct net_device *, struct kernel_ethtool_ts_info *)' from incompatible pointer type 'int (*)(struct net_device *, struct ethtool_ts_info *)' [-Werror=incompatible-pointer-types]
[ixgbe] .get_ts_info = ixgbe_get_ts_info,
[ixgbe] ^~~~~~~~~~~~~~~~~
[ixgbe] /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.c:5022:18: note: (near initialization for 'ixgbe_ethtool_ops.get_ts_info')
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_sysfs.o] Error 1
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_82598.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_82599.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x540.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_fw_update.o] Error 1
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_api.o] Error 1
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_param.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_devlink.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_dcb_nl.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_82598.o] Error 1
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_mbx.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_lib.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_xsk.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ptp.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_debugfs.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_82599.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_phy.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_sriov.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_x550.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_e610.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_common.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_ethtool.o] Error 1
[ixgbe] cc1: all warnings being treated as errors
[ixgbe] make[2]: *** [scripts/Makefile.build:244: /builddir/build/BUILD/ixgbe-5.21.5/src/ixgbe_main.o] Error 1
Hey all - thanks for the most recent 5.21.5 update; however, 6.11 spurred up a metric ton of errors
Driver Tag/Commit
https://github.com/intel/ethernet-linux-ixgbe/releases/tag/v5.21.5
Custom Code
No
OS Platform and Distribution
Linux 6.11-rc6 (431c1646e1f8) - https://github.com/torvalds/linux/tree/v6.11-rc6
Bug description
Intel ixgbe out of tree driver 5.21.5 does not compile with latest mainline, 6.11-rc6
There is a multitude of breakage. Some of it comes from the ethtool changes here: https://github.com/torvalds/linux/commit/2111375b85ad173d58e7b8604246a3de60950ac8 and series https://lore.kernel.org/all/20240709-feature_ptp_netnext-v17-0-b5317f50df2a@bootlin.com/
MIN_T etc breakage comes from: https://github.com/torvalds/linux/commit/3a7e02c040b130b5545e4b115aada7bacd80a2b6
Reproduction steps
Expected Behavior
It compiles
Actual Behavior
It does not compile
Additional Data
Relevant log output