As pointed out by Greg KH, kbuild gives spurious warnings in some cases, fixed by this patch.
Attach a file by drag & drop or click to upload