Re: [PATCH] kasan: add declarations for internal functions

2018-01-05 Thread Dmitry Vyukov
On Fri, Jan 5, 2018 at 10:40 AM, Arnd Bergmann wrote: > A patch got merged that made newly added functions static, leading > to a warning about unused functions as well as a link error when > they are actually used: > > mm/kasan/kasan.c:780:7: error: '__asan_set_shadow_f8' defined but not used >

[PATCH] kasan: add declarations for internal functions

2018-01-05 Thread Arnd Bergmann
A patch got merged that made newly added functions static, leading to a warning about unused functions as well as a link error when they are actually used: mm/kasan/kasan.c:780:7: error: '__asan_set_shadow_f8' defined but not used [-Werror=unused-function] mm/kasan/kasan.c:791:8: note: in expansi