These two commits are required to build the linux-5.15.y branch successfully with GCC 13 in my testing. Both are backports from mainline, with a couple of tweaks to make them apply cleanly. The result has been build tested against a few different gcc versions (9.5, 11.3 & 13.1) and defconfigs (x86_64_defconfig, i386_defconfig, ARM multi_v7_defconfig, ARM64 defconfig, RISCV defconfig, RISCV rv32_defconfig) via Yocto Project builds. Patches for linux-5.10.y are also on the way. Arnd Bergmann (1): ata: ahci: fix enum constants for gcc-13 Kees Cook (1): gcc-plugins: Reorganize gimple includes for GCC 13 drivers/ata/ahci.h | 245 ++++++++++++++++--------------- scripts/gcc-plugins/gcc-common.h | 4 +- 2 files changed, 125 insertions(+), 124 deletions(-) base-commit: d7af3e5ba454d007b4939f858739cf1cecdeab46 -- 2.34.1