tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
[linux-2.6-microblaze.git] / lib / test_kasan_module.c
index 7ebf433..b112cbc 100644 (file)
@@ -35,6 +35,8 @@ static noinline void __init copy_user_test(void)
                return;
        }
 
+       OPTIMIZER_HIDE_VAR(size);
+
        pr_info("out-of-bounds in copy_from_user()\n");
        unused = copy_from_user(kmem, usermem, size + 1);