]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - arch/x86/kernel/unwind_orc.c
x86/unwind/orc: Silence warnings caused by missing ORC data
[mirror_ubuntu-jammy-kernel.git] / arch / x86 / kernel / unwind_orc.c
index 1bcc14c870abd4fb9c0ec3cf04bfc966b3186391..a1202536fc57cc2b4af2b0bfde3f08fb6f9c034a 100644 (file)
@@ -13,7 +13,7 @@
 
 #define orc_warn_current(args...)                                      \
 ({                                                                     \
-       if (state->task == current)                                     \
+       if (state->task == current && !state->error)                    \
                orc_warn(args);                                         \
 })