NVIDIA: SAUCE: lib: Avoid call dump trace on UBSAN error

BugLink: https://bugs.launchpad.net/bugs/2080908

Avoid call stack dump when UBSAN occurs. The prints of
message are sufficient to get information.
This will help on whitelisting the warning as known issue.

hettp://nvbugs/4434688

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
Laxman Dewangan
2023-12-28 12:30:57 +00:00
committed by Noah Wager
parent 68f5e12616
commit 86711a03f2
+2 -1
View File
@@ -214,7 +214,8 @@ static void ubsan_prologue(struct source_location *loc, const char *reason)
static void ubsan_epilogue(void)
{
dump_stack();
/* Avoid dump stack */
/* dump_stack(); */
pr_warn("---[ end trace ]---\n");
current->in_ubsan--;