lkdtm/bugs: Improve warning message for compilers without counted_by support
[sfrench/cifs-2.6.git] / drivers / misc / lkdtm / bugs.c
index b92767d6bdd24462c583c8f3d2dc7c09f08a4ad1..5178c02b21eba9c6898790cac69b878f3f562783 100644 (file)
@@ -417,7 +417,7 @@ static void lkdtm_FAM_BOUNDS(void)
        pr_err("FAIL: survived access of invalid flexible array member index!\n");
 
        if (!__has_attribute(__counted_by__))
-               pr_warn("This is expected since this %s was built a compiler supporting __counted_by\n",
+               pr_warn("This is expected since this %s was built with a compiler that does not support __counted_by\n",
                        lkdtm_kernel_info);
        else if (IS_ENABLED(CONFIG_UBSAN_BOUNDS))
                pr_expected_config(CONFIG_UBSAN_TRAP);