The patch looks good for me. It will need to be rebased, mainly to confirm that test pipeline passes this time.
Is the version check correct for `__alloc_size__`? Kernel disables it for gcc <= 9.1 with following comment: ```c /* * Prior to 9.1, -Wno-alloc-size-larger-than (and therefore the "alloc_size" * attribute) do not work, and must be disabled. */ ```