mm: kasan: Initialize first_bad_addr field in info variable in report.c
This change is required to fix compile error when
CONFIG_CC_OPTIMIZE_FOR_SIZE is turned off.
Change-Id: I9c2a5aa3d459bb1d928e60d7ea9136ab0210aff6
Signed-off-by: Sridhar Parasuram <sridhar@codeaurora.org>
diff --git a/mm/kasan/report.c b/mm/kasan/report.c
index 4df20e1..5cbd2de 100644
--- a/mm/kasan/report.c
+++ b/mm/kasan/report.c
@@ -366,6 +366,7 @@
info.access_size = size;
info.is_write = is_write;
info.ip = ip;
+ info.first_bad_addr = NULL;
kasan_report_error(&info);
}