summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorLiu Shixin <liushixin2@huawei.com>2023-10-23 05:51:25 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-10-26 02:47:13 +0300
commit245245c2fffd0050772a3f30ba50e2be92537a32 (patch)
treed1dda12ec9c4f239beb7c8fe3f8f0035dcd5147e /net/lapb/lapb_subr.c
parent5e4fc577db2514fee3cc2729415d0e2589d5d056 (diff)
downloadlinux-245245c2fffd0050772a3f30ba50e2be92537a32.tar.xz
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions