Re: [PATCH] mm: kmemleak: Remove security and coding style warning

From: Matthew Wilcox
Date: Fri Nov 10 2023 - 14:21:27 EST


On Fri, Nov 10, 2023 at 11:11:02AM -0800, Omkar Wagle wrote:
> Remove the security warning arised due to the use of strncpy
> Resolve coding style warning

No. Stop removing these warnings. Remove the use of strncpy by all
means, but don't run checkpatch over other people's code.

You've been told to stop doing it before. Now I'm telling you again.
https://lore.kernel.org/linux-mm/134bb70e-db8a-0892-0a3c-d00ad57fcece@xxxxxxxxxx/