diff options
author | Liu Shixin <liushixin2@huawei.com> | 2023-10-23 10:51:25 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-10-25 16:47:13 -0700 |
commit | 245245c2fffd0050772a3f30ba50e2be92537a32 (patch) | |
tree | d1dda12ec9c4f239beb7c8fe3f8f0035dcd5147e /scripts/lib/kdoc/kdoc_output.py | |
parent | 5e4fc577db2514fee3cc2729415d0e2589d5d056 (diff) |
mm/kmemleak: move the initialisation of object to __link_object
In patch (mm: kmemleak: split __create_object into two functions), the
initialisation of object has been splited in two places. Catalin said it
feels a bit weird and error prone. So leave __alloc_object() to just do
the actual allocation and let __link_object() do the full initialisation.
Link: https://lkml.kernel.org/r/20231023025125.90972-1-liushixin2@huawei.com
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Suggested-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions