Re: [PATCH mmotm] x86_64: __asan_load2 can be static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2015-02-04 18:09 GMT+03:00 kbuild test robot <fengguang.wu@xxxxxxxxx>:
> mm/kasan/kasan.c:276:1: sparse: symbol '__asan_load2' was not declared. Should it be static?
> mm/kasan/kasan.c:277:1: sparse: symbol '__asan_load4' was not declared. Should it be static?
> mm/kasan/kasan.c:278:1: sparse: symbol '__asan_load8' was not declared. Should it be static?
> mm/kasan/kasan.c:279:1: sparse: symbol '__asan_load16' was not declared. Should it be static?
> mm/kasan/report.c:188:1: sparse: symbol '__asan_report_load1_noabort' was not declared. Should it be static?
> mm/kasan/report.c:189:1: sparse: symbol '__asan_report_load2_noabort' was not declared. Should it be static?
> mm/kasan/report.c:190:1: sparse: symbol '__asan_report_load4_noabort' was not declared. Should it be static?
> mm/kasan/report.c:191:1: sparse: symbol '__asan_report_load8_noabort' was not declared. Should it be static?
> mm/kasan/report.c:192:1: sparse: symbol '__asan_report_load16_noabort' was not declared. Should it be static?
> mm/kasan/report.c:193:1: sparse: symbol '__asan_report_store1_noabort' was not declared. Should it be static?
> mm/kasan/report.c:194:1: sparse: symbol '__asan_report_store2_noabort' was not declared. Should it be static?
> mm/kasan/report.c:195:1: sparse: symbol '__asan_report_store4_noabort' was not declared. Should it be static?
> mm/kasan/report.c:196:1: sparse: symbol '__asan_report_store8_noabort' was not declared. Should it be static?
> mm/kasan/report.c:197:1: sparse: symbol '__asan_report_store16_noabort' was not declared. Should it be static?
>
> Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
> ---
>  kasan.c  |    8 ++++----
>  report.c |   20 ++++++++++----------
>  2 files changed, 14 insertions(+), 14 deletions(-)
>

Nak. These symbols shouldn't be static.
All these function invoked only by compiler, so we don't need declarations.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]