Issues with mainline kernel

A warning is not an error. Compilation will succeed.

(Also keep in mind these kernels are available precompiled: Unofficial repo for older LTS kernels)