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:10:25 -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'
c8c93e61d1 include: Move fprintf_function to disas/
f5674f82b2 disas: Rename include/disas/bfd.h back to include/disas/dis-asm.h
08e5c5c637 monitor: Clean up how monitor_disas() funnels output to monitor
5758566368 qom/cpu: Simplify how CPUClass:cpu_dump_state() prints
263852f63a qemu-print: New qemu_fprintf(), qemu_vfprintf()
005251581b qom/cpu: Simplify how CPUClass::dump_statistics() prints
207d3db725 target/i386: Simplify how x86_cpu_dump_local_apic_state() prints
d9cc902329 target: Clean up how the dump_mmu() print
827021bdb4 target: Simplify how the TARGET_cpu_list() print
f5dfd1ae06 memory: Clean up how mtree_info() prints
ea4b4273ed block/qapi: Clean up how we print to monitor or stdout
cf6447c2ca qsp: Simplify how qsp_report() prints
66120f6a1e tcg: Simplify how dump_drift_info() prints
872e71e6a3 tcg: Simplify how dump_exec_info() prints
49dadefa20 tcg: Simplify how dump_opcount_info() prints
ce1a847509 trace: Simplify how st_print_trace_file_status() prints
20ac898544 include: Include fprintf-fn.h only where needed

=== OUTPUT BEGIN ===
1/17 Checking commit 20ac898544d2 (include: Include fprintf-fn.h only where 
needed)
2/17 Checking commit ce1a8475095a (trace: Simplify how 
st_print_trace_file_status() prints)
3/17 Checking commit 49dadefa2093 (tcg: Simplify how dump_opcount_info() prints)
4/17 Checking commit 872e71e6a30d (tcg: Simplify how dump_exec_info() prints)
5/17 Checking commit 66120f6a1e65 (tcg: Simplify how dump_drift_info() prints)
6/17 Checking commit cf6447c2ca7d (qsp: Simplify how qsp_report() prints)
7/17 Checking commit ea4b4273ed42 (block/qapi: Clean up how we print to monitor 
or stdout)
8/17 Checking commit f5dfd1ae06f7 (memory: Clean up how mtree_info() prints)
9/17 Checking commit 827021bdb479 (target: Simplify how the TARGET_cpu_list() 
print)
10/17 Checking commit d9cc9023295d (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 207d3db72502 (target/i386: Simplify how 
x86_cpu_dump_local_apic_state() prints)
12/17 Checking commit 005251581b3b (qom/cpu: Simplify how 
CPUClass::dump_statistics() prints)
13/17 Checking commit 263852f63aa4 (qemu-print: New qemu_fprintf(), 
qemu_vfprintf())
14/17 Checking commit 5758566368d1 (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 08e5c5c637d7 (monitor: Clean up how monitor_disas() 
funnels output to monitor)
16/17 Checking commit f5674f82b2d3 (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 c8c93e61d132 (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]