[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] monitor: add memory search commands s, sp
From: |
Patchew Tool |
Subject: |
Re: [Qemu-devel] [RFC] monitor: add memory search commands s, sp |
Date: |
Thu, 12 Mar 2015 20:50:44 -0700 (PDT) |
This series failed Patchew automatic testing.
Find the log fragments below (grepped lines around keywords "error" and
"warning"), or open the following URL to see the full log:
http://qemu.patchew.org/testing/log/<address@hidden>
----------8<---------
Checking if the code is already merged ...No.
=== Writing patches ===
0001-monitor--add-memory-search-commands-s--sp.patch
0001-monitor--add-memory-search-commands-s--sp.email
=== Applying patches ===
Applying: monitor: add memory search commands s, sp
=== Starting docker ===
Copying test script "/home/patchew/tests/qemu-devel.sh"
Starting docker...
docker run --net=none -v
/var/tmp/patchew-tester/tmp0FIf3M:/var/tmp/patchew-test patchew:fedora-20
timeout 3600 /var/tmp/patchew-test/qemu-devel.sh /var/tmp/patchew-test
*** Testing 'coding style check' ***
Checking 0001-monitor--add-memory-search-commands-s--sp.patch
command failed with exit code 0
$@
WARNING: braces {} are necessary for all arms of this statement
#89: FILE: monitor.c:1213:
+ if (is_physical)
[...]
+ else
[...]
WARNING: braces {} are necessary for all arms of this statement
#160: FILE: monitor.c:1284:
+ if (is_physical)
[...]
+ else
[...]
ERROR: do not use assignment in if condition
#185: FILE: monitor.c:1309:
+ if (!(match = memmem(mark, todo, needle, wsize))) {
total: 1 errors, 2 warnings, 185 lines checked
0001-monitor--add-memory-search-commands-s--sp.patch has style problems, please
review. If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.
*** Testing 'configure' ***
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
library directory /usr/local/lib
module directory /usr/local/lib/qemu
libexec directory /usr/local/libexec
include directory /usr/local/include
config directory /usr/local/etc
local state directory /usr/local/var
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /var/tmp/patchew-test/git
C compiler cc
Host C compiler cc
C++ compiler c++
Objective-C compiler cc
--
CC qobject/qerror.o
GEN trace/generated-events.c
CC trace/control.o
CC trace/qmp.o
CC util/osdep.o
CC util/cutils.o
CC util/unicode.o
CC util/qemu-timer-common.o
CC util/oslib-posix.o
CC util/qemu-thread-posix.o
CC util/event_notifier-posix.o
CC util/qemu-openpty.o
CC util/envlist.o
CC util/path.o
CC util/module.o
CC util/bitmap.o
CC util/bitops.o
CC util/hbitmap.o
CC util/fifo8.o
CC util/acl.o
CC util/error.o
CC util/qemu-error.o
CC util/compatfd.o
CC util/id.o
CC util/iov.o
CC util/aes.o
CC util/qemu-config.o
CC util/qemu-sockets.o
CC util/uri.o
CC util/notify.o
CC util/qemu-option.o
CC util/qemu-progress.o
CC util/hexdump.o
CC util/crc32c.o
CC util/throttle.o
CC util/getauxval.o
CC util/readline.o
CC util/rfifolock.o
CC util/rcu.o
CC stubs/arch-query-cpu-def.o
CC stubs/bdrv-commit-all.o
CC stubs/chr-baum-init.o
CC stubs/chr-msmouse.o
CC stubs/chr-testdev.o
CC stubs/clock-warp.o
CC stubs/cpu-get-clock.o
CC stubs/cpu-get-icount.o
CC stubs/dump.o
CC stubs/fdset-add-fd.o
CC stubs/fdset-find-fd.o
CC stubs/fdset-get-fd.o
CC stubs/fdset-remove-fd.o
CC stubs/gdbstub.o
CC stubs/get-fd.o
CC stubs/get-next-serial.o
CC stubs/get-vm-name.o
CC stubs/iothread-lock.o
CC stubs/is-daemonized.o
CC stubs/machine-init-done.o
CC stubs/migr-blocker.o
CC stubs/mon-is-qmp.o
CC stubs/mon-printf.o
CC stubs/mon-set-error.o
CC stubs/monitor-init.o
CC stubs/notify-event.o
CC stubs/qtest.o
CC stubs/reset.o
CC stubs/runstate-check.o
CC stubs/set-fd-handler.o
CC stubs/slirp.o
CC stubs/sysbus.o
CC stubs/uuid.o
CC stubs/vc-init.o
CC stubs/vm-stop.o
CC stubs/vmstate.o
CC stubs/cpus.o
CC stubs/kvm.o
CC stubs/qmp_pc_dimm_device_list.o
CC qemu-nbd.o
CC async.o
CC thread-pool.o
CC nbd.o
CC block.o
--
GEN x86_64-softmmu/hmp-commands.h
GEN x86_64-softmmu/qmp-commands-old.h
GEN x86_64-softmmu/config-target.h
CC x86_64-softmmu/exec.o
CC x86_64-softmmu/translate-all.o
CC x86_64-softmmu/cpu-exec.o
CC x86_64-softmmu/tcg/tcg.o
CC x86_64-softmmu/tcg/tcg-op.o
CC x86_64-softmmu/tcg/optimize.o
CC x86_64-softmmu/fpu/softfloat.o
CC x86_64-softmmu/disas.o
CC x86_64-softmmu/arch_init.o
CC x86_64-softmmu/cpus.o
CC x86_64-softmmu/monitor.o
CC x86_64-softmmu/gdbstub.o
CC x86_64-softmmu/balloon.o
CC x86_64-softmmu/ioport.o
CC x86_64-softmmu/numa.o
CC x86_64-softmmu/qtest.o
/var/tmp/patchew-test/git/monitor.c: In function 'memory_search':
/var/tmp/patchew-test/git/monitor.c:1309:16: error: 'needle' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
if (!(match = memmem(mark, todo, needle, wsize))) {
^
cc1: all warnings being treated as errors
make[1]: *** [monitor.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [subdir-x86_64-softmmu] Error 2
Test failed.