From: Fam Zheng <famz@redhat.com>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, pjp@fedoraproject.org,
alistair.francis@xilinx.com, qemu-arm@nongnu.org,
ppandit@redhat.com, psirt@huawei.com
Subject: Re: [Qemu-arm] [Qemu-devel] [PATCH v4] char: cadence: check baud rate generator and divider values
Date: Fri, 28 Oct 2016 22:21:49 +0800 [thread overview]
Message-ID: <20161028142149.GD8431@lemon> (raw)
In-Reply-To: <147766342608.143.15390303781959856001@9040ca97f87d>
On Fri, 10/28 07:03, no-reply@patchew.org wrote:
> In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h:9:0,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gtypes.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/galloca.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib.h:30,
> from /tmp/qemu-test/src/include/glib-compat.h:19,
> from /tmp/qemu-test/src/include/qemu/osdep.h:107,
> from trace/generated-tracers.c:3:
> trace/generated-tracers.c: In function '_simple_trace_visit_type_str':
> trace/generated-tracers.c:50123:42: error: passing argument 1 of 'strlen' from incompatible pointer type [-Werror=incompatible-pointer-types]
> size_t argobj_len = obj ? MIN(strlen(obj), MAX_TRACE_STRLEN) : 0;
> ^
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gmacros.h:291:23: note: in definition of macro 'MIN'
> #define MIN(a, b) (((a) < (b)) ? (a) : (b))
> ^
> In file included from /tmp/qemu-test/src/include/qemu/osdep.h:69:0,
> from trace/generated-tracers.c:3:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:55:18: note: expected 'const char *' but argument is of type 'char **'
> size_t __cdecl strlen(const char *_Str);
> ^~~~~~
> In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h:9:0,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gtypes.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/galloca.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib.h:30,
> from /tmp/qemu-test/src/include/glib-compat.h:19,
> from /tmp/qemu-test/src/include/qemu/osdep.h:107,
> from trace/generated-tracers.c:3:
> trace/generated-tracers.c:50123:42: error: passing argument 1 of 'strlen' from incompatible pointer type [-Werror=incompatible-pointer-types]
> size_t argobj_len = obj ? MIN(strlen(obj), MAX_TRACE_STRLEN) : 0;
> ^
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gmacros.h:291:36: note: in definition of macro 'MIN'
> #define MIN(a, b) (((a) < (b)) ? (a) : (b))
> ^
> In file included from /tmp/qemu-test/src/include/qemu/osdep.h:69:0,
> from trace/generated-tracers.c:3:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:55:18: note: expected 'const char *' but argument is of type 'char **'
> size_t __cdecl strlen(const char *_Str);
> ^~~~~~
> trace/generated-tracers.c:50134:34: error: passing argument 2 of 'trace_record_write_str' from incompatible pointer type [-Werror=incompatible-pointer-types]
> trace_record_write_str(&rec, obj, argobj_len);
> ^~~
> In file included from trace/generated-tracers.c:17892:0:
> /tmp/qemu-test/src/trace/simple.h:42:6: note: expected 'const char *' but argument is of type 'char **'
> void trace_record_write_str(TraceBufferRecord *rec, const char *s, uint32_t slen);
> ^~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> /tmp/qemu-test/src/rules.mak:60: recipe for target 'trace/generated-tracers.o' failed
> make: *** [trace/generated-tracers.o] Error 1
> make[1]: *** [docker-run] Error 2
> make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-vo_8jsgn/src'
> make: *** [docker-run-test-mingw@fedora] Error 2
> === OUTPUT END ===
You can ignore this one, it's not in this patch and is just fixed on master -
the series was applied by patchew earlier than that.
Fam
WARNING: multiple messages have this Message-ID (diff)
From: Fam Zheng <famz@redhat.com>
To: qemu-devel@nongnu.org
Cc: ppandit@redhat.com, peter.maydell@linaro.org,
pjp@fedoraproject.org, alistair.francis@xilinx.com,
qemu-arm@nongnu.org, edgar.iglesias@gmail.com, psirt@huawei.com
Subject: Re: [Qemu-devel] [PATCH v4] char: cadence: check baud rate generator and divider values
Date: Fri, 28 Oct 2016 22:21:49 +0800 [thread overview]
Message-ID: <20161028142149.GD8431@lemon> (raw)
In-Reply-To: <147766342608.143.15390303781959856001@9040ca97f87d>
On Fri, 10/28 07:03, no-reply@patchew.org wrote:
> In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h:9:0,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gtypes.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/galloca.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib.h:30,
> from /tmp/qemu-test/src/include/glib-compat.h:19,
> from /tmp/qemu-test/src/include/qemu/osdep.h:107,
> from trace/generated-tracers.c:3:
> trace/generated-tracers.c: In function '_simple_trace_visit_type_str':
> trace/generated-tracers.c:50123:42: error: passing argument 1 of 'strlen' from incompatible pointer type [-Werror=incompatible-pointer-types]
> size_t argobj_len = obj ? MIN(strlen(obj), MAX_TRACE_STRLEN) : 0;
> ^
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gmacros.h:291:23: note: in definition of macro 'MIN'
> #define MIN(a, b) (((a) < (b)) ? (a) : (b))
> ^
> In file included from /tmp/qemu-test/src/include/qemu/osdep.h:69:0,
> from trace/generated-tracers.c:3:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:55:18: note: expected 'const char *' but argument is of type 'char **'
> size_t __cdecl strlen(const char *_Str);
> ^~~~~~
> In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/lib/glib-2.0/include/glibconfig.h:9:0,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gtypes.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/galloca.h:32,
> from /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib.h:30,
> from /tmp/qemu-test/src/include/glib-compat.h:19,
> from /tmp/qemu-test/src/include/qemu/osdep.h:107,
> from trace/generated-tracers.c:3:
> trace/generated-tracers.c:50123:42: error: passing argument 1 of 'strlen' from incompatible pointer type [-Werror=incompatible-pointer-types]
> size_t argobj_len = obj ? MIN(strlen(obj), MAX_TRACE_STRLEN) : 0;
> ^
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/glib-2.0/glib/gmacros.h:291:36: note: in definition of macro 'MIN'
> #define MIN(a, b) (((a) < (b)) ? (a) : (b))
> ^
> In file included from /tmp/qemu-test/src/include/qemu/osdep.h:69:0,
> from trace/generated-tracers.c:3:
> /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:55:18: note: expected 'const char *' but argument is of type 'char **'
> size_t __cdecl strlen(const char *_Str);
> ^~~~~~
> trace/generated-tracers.c:50134:34: error: passing argument 2 of 'trace_record_write_str' from incompatible pointer type [-Werror=incompatible-pointer-types]
> trace_record_write_str(&rec, obj, argobj_len);
> ^~~
> In file included from trace/generated-tracers.c:17892:0:
> /tmp/qemu-test/src/trace/simple.h:42:6: note: expected 'const char *' but argument is of type 'char **'
> void trace_record_write_str(TraceBufferRecord *rec, const char *s, uint32_t slen);
> ^~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> /tmp/qemu-test/src/rules.mak:60: recipe for target 'trace/generated-tracers.o' failed
> make: *** [trace/generated-tracers.o] Error 1
> make[1]: *** [docker-run] Error 2
> make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-vo_8jsgn/src'
> make: *** [docker-run-test-mingw@fedora] Error 2
> === OUTPUT END ===
You can ignore this one, it's not in this patch and is just fixed on master -
the series was applied by patchew earlier than that.
Fam
next prev parent reply other threads:[~2016-10-28 14:22 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-27 19:24 [Qemu-arm] [PATCH v4] char: cadence: check baud rate generator and divider values P J P
2016-10-27 19:24 ` [Qemu-devel] " P J P
2016-10-28 14:03 ` no-reply
2016-10-28 14:03 ` no-reply
2016-10-28 14:21 ` Fam Zheng [this message]
2016-10-28 14:21 ` Fam Zheng
2016-10-28 15:34 ` [Qemu-arm] " Alistair Francis
2016-10-28 15:34 ` Alistair Francis
2016-10-31 13:42 ` [Qemu-arm] " Peter Maydell
2016-10-31 13:42 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161028142149.GD8431@lemon \
--to=famz@redhat.com \
--cc=alistair.francis@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=pjp@fedoraproject.org \
--cc=ppandit@redhat.com \
--cc=psirt@huawei.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.