|
@@ -91,7 +91,7 @@ unsigned paravirt_patch_call(void *insnbuf,
|
|
|
|
|
|
if (len < 5) {
|
|
|
#ifdef CONFIG_RETPOLINE
|
|
|
- WARN_ONCE("Failing to patch indirect CALL in %ps\n", (void *)addr);
|
|
|
+ WARN_ONCE(1, "Failing to patch indirect CALL in %ps\n", (void *)addr);
|
|
|
#endif
|
|
|
return len; /* call too long for patch site */
|
|
|
}
|
|
@@ -111,7 +111,7 @@ unsigned paravirt_patch_jmp(void *insnbuf, const void *target,
|
|
|
|
|
|
if (len < 5) {
|
|
|
#ifdef CONFIG_RETPOLINE
|
|
|
- WARN_ONCE("Failing to patch indirect JMP in %ps\n", (void *)addr);
|
|
|
+ WARN_ONCE(1, "Failing to patch indirect JMP in %ps\n", (void *)addr);
|
|
|
#endif
|
|
|
return len; /* call too long for patch site */
|
|
|
}
|