Instead of __asan_report_load_n_noabort and __asan_report_store_n_noabort callbacks Clang emits differently named __asan_report_loadN_noabort and __asan_report_storeN_noabort (similar to __asan_loadN/storeN_noabort, whose names both GCC and Clang agree on). Add callback implementation for __asan_report_loadN/storeN_noabort. Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx> --- mm/kasan/report.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mm/kasan/report.c b/mm/kasan/report.c index eff12e040498..caf4c9e948c6 100644 --- a/mm/kasan/report.c +++ b/mm/kasan/report.c @@ -450,3 +450,15 @@ void __asan_report_store_n_noabort(unsigned long addr, size_t size) kasan_report(addr, size, true, _RET_IP_); } EXPORT_SYMBOL(__asan_report_store_n_noabort); + +void __asan_report_loadN_noabort(unsigned long addr, size_t size) +{ + kasan_report(addr, size, false, _RET_IP_); +} +EXPORT_SYMBOL(__asan_report_loadN_noabort); + +void __asan_report_storeN_noabort(unsigned long addr, size_t size) +{ + kasan_report(addr, size, true, _RET_IP_); +} +EXPORT_SYMBOL(__asan_report_storeN_noabort); -- 2.16.0.rc1.238.g530d649a79-goog -- 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>