diff options
| author | Sven Schnelle <svens@linux.ibm.com> | 2021-08-27 09:36:06 +0300 | 
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2021-08-31 15:54:14 +0300 | 
| commit | 436fc4feeabbf103d78d50a8e091b3aac28cc37f (patch) | |
| tree | 9a4001ce8eff24e8a69f19fdb68f472724d36d23 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 2297791c92d04a154ad29ba5a073f9f627982110 (diff) | |
| download | linux-436fc4feeabbf103d78d50a8e091b3aac28cc37f.tar.xz | |
s390: add kmemleak annotation in stack_alloc()
kmemleak with enabled auto scanning reports that our stack allocation is
lost. This is because we're saving the pointer + STACK_INIT_OFFSET to
lowcore. When kmemleak now scans the objects, it thinks that this one is
lost because it can't find a corresponding pointer.
Reported-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Tested-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
