From: Peter Maydell <peter.maydell@linaro.org>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>, Bandan Das <bsd@redhat.com>
Subject: Re: [Qemu-devel] [PULL 0/5] Usb 20180220 patches
Date: Tue, 20 Feb 2018 17:03:24 +0000 [thread overview]
Message-ID: <CAFEAcA8oEGS48UgDQw9AWsvi62nO5m1eMM4E4U_L4drYePjTaw@mail.gmail.com> (raw)
In-Reply-To: <20180220152843.26464-1-kraxel@redhat.com>
On 20 February 2018 at 15:28, Gerd Hoffmann <kraxel@redhat.com> wrote:
> The following changes since commit b487e2b2ff6e9fff8a45a9600d6de3a7bf82666a:
>
> Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging (2018-02-20 11:52:24 +0000)
>
> are available in the git repository at:
>
> git://git.kraxel.org/qemu tags/usb-20180220-pull-request
>
> for you to fetch changes up to 18c7310e9982b71d17e76648acfec0be42a57aea:
>
> usb-mtp: Advertise SendObjectInfo for write support (2018-02-20 16:06:56 +0100)
>
> ----------------------------------------------------------------
> usb: Add write support to MTP.
>
> ----------------------------------------------------------------
>
> Bandan Das (5):
> usb-mtp: Add one more argument when building results
> usb-mtp: print parent path in IN_IGNORED trace fn
> usb-mtp: Support delete of mtp objects
> usb-mtp: Introduce write support for MTP objects
> usb-mtp: Advertise SendObjectInfo for write support
Hi. This fails to build on the BSDs, I'm afraid.
FreeBSD:
CC hw/usb/dev-mtp.o
/root/qemu/hw/usb/dev-mtp.c:1558:8: warning: no previous prototype for
function 'getumask' [-Wmissing-prototypes]
mode_t getumask(void)
^
/root/qemu/hw/usb/dev-mtp.c:1664:9: warning: implicit declaration of
function 'usb_mtp_object_lookup_name' is invalid in C99
[-Wimplicit-function-declaration]
o = usb_mtp_object_lookup_name(p, filename, dataset->length);
^
/root/qemu/hw/usb/dev-mtp.c:1664:7: warning: incompatible integer to
pointer conversion assigning to 'MTPObject *' (aka 'struct MTPObject
*') from 'int' [-Wint-conversion]
o = usb_mtp_object_lookup_name(p, filename, dataset->length);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
and then all the link steps fail with:
../hw/usb/dev-mtp.o: In function `usb_mtp_write_metadata':
/root/qemu/hw/usb/dev-mtp.c:1664: undefined reference to
`usb_mtp_object_lookup_name'
NetBSD:
CC hw/usb/dev-mtp.o
/root/qemu/hw/usb/dev-mtp.c:1558:8: warning: no previous prototype for
'getumask' [-Wmissing-prototypes]
mode_t getumask(void)
^
/root/qemu/hw/usb/dev-mtp.c: In function 'usb_mtp_write_metadata':
/root/qemu/hw/usb/dev-mtp.c:1664:5: warning: implicit declaration of
function 'usb_mtp_object_lookup_name'
[-Wimplicit-function-declaration]
o = usb_mtp_object_lookup_name(p, filename, dataset->length);
^
/root/qemu/hw/usb/dev-mtp.c:1664:5: warning: nested extern declaration
of 'usb_mtp_object_lookup_name' [-Wnested-externs]
/root/qemu/hw/usb/dev-mtp.c:1664:7: warning: assignment makes pointer
from integer without a cast [enabled by default]
o = usb_mtp_object_lookup_name(p, filename, dataset->length);
^
OpenBSD and OSX fail similarly.
thanks
-- PMM
prev parent reply other threads:[~2018-02-20 17:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 15:28 [Qemu-devel] [PULL 0/5] Usb 20180220 patches Gerd Hoffmann
2018-02-20 15:28 ` [Qemu-devel] [PULL 1/5] usb-mtp: Add one more argument when building results Gerd Hoffmann
2018-02-20 15:28 ` [Qemu-devel] [PULL 2/5] usb-mtp: print parent path in IN_IGNORED trace fn Gerd Hoffmann
2018-02-20 15:28 ` [Qemu-devel] [PULL 3/5] usb-mtp: Support delete of mtp objects Gerd Hoffmann
2018-02-20 15:28 ` [Qemu-devel] [PULL 4/5] usb-mtp: Introduce write support for MTP objects Gerd Hoffmann
2018-02-20 20:47 ` Eric Blake
2018-02-20 21:27 ` Bandan Das
2018-02-20 15:28 ` [Qemu-devel] [PULL 5/5] usb-mtp: Advertise SendObjectInfo for write support Gerd Hoffmann
2018-02-20 17:03 ` Peter Maydell [this message]
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=CAFEAcA8oEGS48UgDQw9AWsvi62nO5m1eMM4E4U_L4drYePjTaw@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=bsd@redhat.com \
--cc=kraxel@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).