]> git.ipfire.org Git - thirdparty/linux.git/commit
mm: kmemleak: drop wrong comment
authorLuiz Capitulino <luizcap@redhat.com>
Wed, 30 Apr 2025 20:59:46 +0000 (16:59 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 13 May 2025 06:50:47 +0000 (23:50 -0700)
commitbefbb2540aaea90993e150a84e342f04e24f3476
tree6defc3d0bd6ba64cefbf0a2606738eaaa550b8a4
parente313ee4ebb357af5e316863ed15d01eb2c2e2a2f
mm: kmemleak: drop wrong comment

Newly created objects have object->count == 0, so the comment is
incorrect.  Just drop it.

Link: https://lkml.kernel.org/r/3dfd09bc0e77bb626619184a808774ff07de275c.1746046744.git.luizcap@redhat.com
Signed-off-by: Luiz Capitulino <luizcap@redhat.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kmemleak.c