Prompted by GPU drivers tripping various (mostly locking) warnings when VT switching on panic. When these warnings have stack traces, the msgbuf becomes quite confusing, people would often show these warning traces instead of the real panic trace.
While here, reformat to avoid mixing tabs and spaces for indentation.