]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/Makefile.kasan
block: bio_iov_iter_get_pages: pin more pages for multi-segment IOs
[mirror_ubuntu-bionic-kernel.git] / scripts / Makefile.kasan
index 94c9e65cc83adb7be3464c77d83aec3ce835226e..97a56c0b565a4ab609f5d47dcd6abb9bf0dc78b9 100644 (file)
@@ -30,7 +30,9 @@ else
     endif
 endif
 
+ifdef CONFIG_KASAN_EXTRA
 CFLAGS_KASAN += $(call cc-option, -fsanitize-address-use-after-scope)
+endif
 
 CFLAGS_KASAN_NOSANITIZE := -fno-builtin