kmemleak: Improve the "Early log buffer exceeded" error message
[~shefty/rdma-dev.git] / mm / kmemleak.c
index 39da954b5059f19cf803ea6e8d3728188c57ad1d..4ea4510e2996cb5dab18852cb1f5e285f7fbd81e 100644 (file)
@@ -792,7 +792,8 @@ static void __init log_early(int op_type, const void *ptr, size_t size,
        struct early_log *log;
 
        if (crt_early_log >= ARRAY_SIZE(early_log)) {
-               pr_warning("Early log buffer exceeded\n");
+               pr_warning("Early log buffer exceeded, "
+                          "please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE\n");
                kmemleak_disable();
                return;
        }