qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 00/17] Clean up and simplify around fprintf_f


From: no-reply
Subject: Re: [Qemu-devel] [PATCH v2 00/17] Clean up and simplify around fprintf_function
Date: Wed, 17 Apr 2019 13:01:44 -0700 (PDT)

Patchew URL: https://patchew.org/QEMU/address@hidden/



Hi,

This series seems to have some coding style problems. See output below for
more information:

Message-id: address@hidden
Subject: [Qemu-devel] [PATCH v2 00/17] Clean up and simplify around 
fprintf_function
Type: series

=== TEST SCRIPT BEGIN ===
#!/bin/bash
git rev-parse base > /dev/null || exit 0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
./scripts/checkpatch.pl --mailback base..
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 t [tag update]            patchew/address@hidden -> patchew/address@hidden
Switched to a new branch 'test'
587c26c24e include: Move fprintf_function to disas/
416f563f47 disas: Rename include/disas/bfd.h back to include/disas/dis-asm.h
0a17831a3d monitor: Clean up how monitor_disas() funnels output to monitor
7552bb783c qom/cpu: Simplify how CPUClass:cpu_dump_state() prints
f8829004b6 qemu-print: New qemu_fprintf(), qemu_vfprintf()
6e17d7886f qom/cpu: Simplify how CPUClass::dump_statistics() prints
b9e7cc19f9 target/i386: Simplify how x86_cpu_dump_local_apic_state() prints
d0235ec2aa target: Clean up how the dump_mmu() print
5ac5266b18 target: Simplify how the TARGET_cpu_list() print
537efe83e7 memory: Clean up how mtree_info() prints
d8c0a5610f block/qapi: Clean up how we print to monitor or stdout
1f2593e991 qsp: Simplify how qsp_report() prints
8ddded1f2c tcg: Simplify how dump_drift_info() prints
50a002becd tcg: Simplify how dump_exec_info() prints
eb737a179a tcg: Simplify how dump_opcount_info() prints
298229bbdd trace: Simplify how st_print_trace_file_status() prints
8a2715b3db include: Include fprintf-fn.h only where needed

=== OUTPUT BEGIN ===
1/17 Checking commit 8a2715b3db01 (include: Include fprintf-fn.h only where 
needed)
2/17 Checking commit 298229bbddd0 (trace: Simplify how 
st_print_trace_file_status() prints)
3/17 Checking commit eb737a179ad4 (tcg: Simplify how dump_opcount_info() prints)
4/17 Checking commit 50a002becdd9 (tcg: Simplify how dump_exec_info() prints)
5/17 Checking commit 8ddded1f2ce1 (tcg: Simplify how dump_drift_info() prints)
6/17 Checking commit 1f2593e99199 (qsp: Simplify how qsp_report() prints)
7/17 Checking commit d8c0a5610f9d (block/qapi: Clean up how we print to monitor 
or stdout)
8/17 Checking commit 537efe83e7af (memory: Clean up how mtree_info() prints)
9/17 Checking commit 5ac5266b18f3 (target: Simplify how the TARGET_cpu_list() 
print)
10/17 Checking commit d0235ec2aa72 (target: Clean up how the dump_mmu() print)
WARNING: line over 80 characters
#950: FILE: target/xtensa/mmu_helper.c:784:
+                    qemu_printf("\tVaddr       Paddr       ASID  Attr RWX 
Cache\n"

total: 0 errors, 1 warnings, 848 lines checked

Patch 10/17 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
11/17 Checking commit b9e7cc19f90d (target/i386: Simplify how 
x86_cpu_dump_local_apic_state() prints)
12/17 Checking commit 6e17d7886f80 (qom/cpu: Simplify how 
CPUClass::dump_statistics() prints)
13/17 Checking commit f8829004b621 (qemu-print: New qemu_fprintf(), 
qemu_vfprintf())
14/17 Checking commit 7552bb783c08 (qom/cpu: Simplify how 
CPUClass:cpu_dump_state() prints)
ERROR: line over 90 characters
#1051: FILE: target/i386/helper.c:419:
+        qemu_fprintf(f, "RAX=%016" PRIx64 " RBX=%016" PRIx64 " RCX=%016" 
PRIx64 " RDX=%016" PRIx64 "\n"

ERROR: line over 90 characters
#1052: FILE: target/i386/helper.c:420:
+                     "RSI=%016" PRIx64 " RDI=%016" PRIx64 " RBP=%016" PRIx64 " 
RSP=%016" PRIx64 "\n"

ERROR: line over 90 characters
#1053: FILE: target/i386/helper.c:421:
+                     "R8 =%016" PRIx64 " R9 =%016" PRIx64 " R10=%016" PRIx64 " 
R11=%016" PRIx64 "\n"

ERROR: line over 90 characters
#1054: FILE: target/i386/helper.c:422:
+                     "R12=%016" PRIx64 " R13=%016" PRIx64 " R14=%016" PRIx64 " 
R15=%016" PRIx64 "\n"

ERROR: line over 90 characters
#1055: FILE: target/i386/helper.c:423:
+                     "RIP=%016" PRIx64 " RFL=%08x [%c%c%c%c%c%c%c] CPL=%d 
II=%d A20=%d SMM=%d HLT=%d\n",

WARNING: line over 80 characters
#1163: FILE: target/i386/helper.c:494:
+        qemu_fprintf(f, "CR0=%08x CR2=%016" PRIx64 " CR3=%016" PRIx64 " 
CR4=%08x\n",

WARNING: line over 80 characters
#1751: FILE: target/mips/translate.c:29791:
+    qemu_fprintf(f, "CP0 Status  0x%08x Cause   0x%08x EPC    0x" 
TARGET_FMT_lx "\n",

total: 5 errors, 2 warnings, 2551 lines checked

Patch 14/17 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

15/17 Checking commit 0a17831a3dbe (monitor: Clean up how monitor_disas() 
funnels output to monitor)
16/17 Checking commit 416f563f47e7 (disas: Rename include/disas/bfd.h back to 
include/disas/dis-asm.h)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#296: 
rename from include/disas/bfd.h

total: 0 errors, 1 warnings, 192 lines checked

Patch 16/17 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
17/17 Checking commit 587c26c24e65 (include: Move fprintf_function to disas/)
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
#45: 
deleted file mode 100644

total: 0 errors, 1 warnings, 17 lines checked

Patch 17/17 has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
=== OUTPUT END ===

Test command exited with code: 1


The full log is available at
http://patchew.org/logs/address@hidden/testing.checkpatch/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]