As far as I can tell from the limited commit message and comments, the purpose of commit 6a74b670 ("Refactor and add new functions tested by check_kvmalloc_array_zero()") is to suggest that uses of __GFP_ZERO are replaced by the appropriate zeroing allocator, like kzalloc. But this warning is being reported on the function cs_dsp_coeff_read_ctrl_raw() in drivers/firmware/cirrus/cs_dsp.c That function does not have a __GFP_ZERO, the kmalloc is: scratch = kmalloc(len, GFP_KERNEL | GFP_DMA); and it is intentional to use kmalloc because the entire buffer is then overwritten, so it's inefficient to zero-fill it first.