[PATCH 5.10.y 0/3] v5.10: fix build with GCC 15