From: Michael Tokarev <mjt@tls.msk.ru>
To: "Ján Veselý" <jano.vesely@gmail.com>
Cc: QEMU <qemu-trivial@nongnu.org>, QEMU <qemu-devel@nongnu.org>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-trivial] [PATCH] pci-ohci: Add missing 'break' in ohci_service_td
Date: Mon, 30 Sep 2013 00:15:53 +0400 [thread overview]
Message-ID: <52488A79.8010803@msgid.tls.msk.ru> (raw)
In-Reply-To: <CA+K+NcStLJod1P3MhWqPJ=jhfMwMuV_cxuivi-QXduwnT2uwqg@mail.gmail.com>
22.09.2013 00:26, Ján Veselý wrote:
> Device communication errors need to be reported to driver.
> Add a debug message while at it.
>
> Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
> ---
> hw/usb/hcd-ohci.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
> index 35f0878..0396e33 100644
> --- a/hw/usb/hcd-ohci.c
> +++ b/hw/usb/hcd-ohci.c
> @@ -1143,7 +1143,9 @@ static int ohci_service_td(OHCIState *ohci,
> struct ohci_ed *ed)
> switch (ret) {
> case USB_RET_IOERROR:
> case USB_RET_NODEV:
> + DPRINTF("usb-ohci: got DEV ERROR\n");
why is this "DEV ERROR" ? Note it is about 2 case statements, not one.
> OHCI_SET_BM(td.flags, TD_CC, OHCI_CC_DEVICENOTRESPONDING);
> + break;
> case USB_RET_NAK:
> DPRINTF("usb-ohci: got NAK\n");
> return 1;
While the actual interesting change (adding break) looks
correct, and the whole thing is trivial indeed, this area
has a maintainer, -- Cc'ing Gerd for this. If he's okay
I'll pick it up.
Thanks,
/mjt
WARNING: multiple messages have this Message-ID (diff)
From: Michael Tokarev <mjt@tls.msk.ru>
To: "Ján Veselý" <jano.vesely@gmail.com>
Cc: QEMU <qemu-trivial@nongnu.org>, QEMU <qemu-devel@nongnu.org>,
Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] pci-ohci: Add missing 'break' in ohci_service_td
Date: Mon, 30 Sep 2013 00:15:53 +0400 [thread overview]
Message-ID: <52488A79.8010803@msgid.tls.msk.ru> (raw)
In-Reply-To: <CA+K+NcStLJod1P3MhWqPJ=jhfMwMuV_cxuivi-QXduwnT2uwqg@mail.gmail.com>
22.09.2013 00:26, Ján Veselý wrote:
> Device communication errors need to be reported to driver.
> Add a debug message while at it.
>
> Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
> ---
> hw/usb/hcd-ohci.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
> index 35f0878..0396e33 100644
> --- a/hw/usb/hcd-ohci.c
> +++ b/hw/usb/hcd-ohci.c
> @@ -1143,7 +1143,9 @@ static int ohci_service_td(OHCIState *ohci,
> struct ohci_ed *ed)
> switch (ret) {
> case USB_RET_IOERROR:
> case USB_RET_NODEV:
> + DPRINTF("usb-ohci: got DEV ERROR\n");
why is this "DEV ERROR" ? Note it is about 2 case statements, not one.
> OHCI_SET_BM(td.flags, TD_CC, OHCI_CC_DEVICENOTRESPONDING);
> + break;
> case USB_RET_NAK:
> DPRINTF("usb-ohci: got NAK\n");
> return 1;
While the actual interesting change (adding break) looks
correct, and the whole thing is trivial indeed, this area
has a maintainer, -- Cc'ing Gerd for this. If he's okay
I'll pick it up.
Thanks,
/mjt
next prev parent reply other threads:[~2013-09-29 20:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-21 20:26 [Qemu-trivial] [PATCH] pci-ohci: Add missing 'break' in ohci_service_td Ján Veselý
2013-09-21 20:26 ` [Qemu-devel] " Ján Veselý
2013-09-29 20:15 ` Michael Tokarev [this message]
2013-09-29 20:15 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
2013-09-30 6:32 ` Gerd Hoffmann
2013-09-30 6:32 ` [Qemu-devel] " Gerd Hoffmann
2013-09-30 7:58 ` Michael Tokarev
2013-09-30 7:58 ` [Qemu-devel] " Michael Tokarev
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=52488A79.8010803@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=jano.vesely@gmail.com \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@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.