x86/traps: Fix show_page_walk() to avoid printing trailing whitespace
PATCH 1/1 x86/traps: Fix show_page_walk() to avoid printing trailing whitespace
This moves the L2 line to be consistent with the L3 line.
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>
--- xen/arch/x86/x86_64/traps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
xen/arch/x86/x86_64/traps.c +2 -2
@@ -206,9 +206,9 @@ void show_page_walk(unsigned long addr) mfn =l2e_get_pfn (l2e); pfn =mfn_valid (_mfn (mfn)) && machine_to_phys_mapping_valid ?get_gpfn_from_mfn (mfn) :INVALID_M2P_ENTRY ; -printk (" L2[0x%03lx] = %" PRIpte" %016lx %s\n" , +printk (" L2[0x%03lx] = %" PRIpte" %016lx%s\n" ,l2_table_offset (addr),l2e_get_intpte (l2e), pfn, - (l2e_get_flags (l2e) & _PAGE_PSE) ?"(PSE)" :"" ); + (l2e_get_flags (l2e) & _PAGE_PSE) ?" (PSE)" :"" );if ( !(l2e_get_flags (l2e) & _PAGE_PRESENT) || (l2e_get_flags (l2e) & _PAGE_PSE) || !mfn_valid (_mfn (mfn)) )
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 3 lines · Andrew Cooper
This moves the L2 line to be consistent with the L3 line.
Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Jan Beulich
Acked-byQuoted 7 lines
Quoted 1 line
Quoted 1 line · On 05.09.17 at 20:02, <[email protected]> wrote:
Quoted 3 lines · Andrew Cooper
This moves the L2 line to be consistent with the L3 line.
Signed-off-by Andrew Cooper <[email protected]>Reviewed-by Wei Liu <[email protected]>
Acked-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel