[PATCH] mm: kmemleak: mark kmemleak_init prototype as __init

2015-12-04 Thread Catalin Marinas
From: Nicolas Iooss kmemleak_init() definition in mm/kmemleak.c is marked __init but its prototype in include/linux/kmemleak.h is marked __ref since commit a6186d89c913 ("kmemleak: Mark the early log buffer as __initdata"). This causes a section mismatch which is reported as a warning when build

Re: [PATCH] mm: kmemleak: mark kmemleak_init prototype as __init

2015-10-28 Thread Catalin Marinas
On Sun, Jul 05, 2015 at 02:47:01AM +0100, Nicolas Iooss wrote: > kmemleak_init() definition in mm/kmemleak.c is marked __init but its > prototype in include/linux/kmemleak.h is marked __ref since commit > a6186d89c913 ("kmemleak: Mark the early log buffer as __initdata"). > > This causes a section

[PATCH] mm: kmemleak: mark kmemleak_init prototype as __init

2015-07-05 Thread Nicolas Iooss
kmemleak_init() definition in mm/kmemleak.c is marked __init but its prototype in include/linux/kmemleak.h is marked __ref since commit a6186d89c913 ("kmemleak: Mark the early log buffer as __initdata"). This causes a section mismatch which is reported as a warning when building with clang -Wsecti