Re: [PATCH v6 9/9] x86/nmi: Print source information with the unknown NMI console message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On June 3, 2025 9:55:32 AM PDT, Xin Li <xin@xxxxxxxxx> wrote:
>On 5/13/2025 1:38 PM, Sohil Mehta wrote:
>> +	if (cpu_feature_enabled(X86_FEATURE_NMI_SOURCE))
>> +		pr_emerg_ratelimited("NMI-source bitmap is 0x%lx\n", fred_event_data(regs));
>
>"0x%04lx"?

Seems unnecessary to me to zero-pad it; it just makes small numbers harder to read. We don't even use vector 12+ at this time, do we?





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux