From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] usb: sunxi: ohci: make ohci_t the first member in private data
Date: Mon, 18 Jun 2018 09:19:29 +0200 [thread overview]
Message-ID: <b28af539-7ff7-77e5-8a45-c4dbef6bde65@gmail.com> (raw)
In-Reply-To: <CAD6G_RS3ktB6-Dn=qtLdHvphBB60HM8yfLespMmT8n=8+8OGyg@mail.gmail.com>
On 06/18/2018 08:15 AM, Jagan Teki wrote:
> On Mon, Jun 18, 2018 at 6:44 AM, Marek Vasut <marex@denx.de> wrote:
>> On 06/17/2018 06:13 PM, Vasily Khoruzhick wrote:
>>> ohci-hcd casts priv_data pointer to (ohci_t *), thus it must be
>>> the first member in private data struct.
>>>
>>> Fixes 831cc98b1 ("usb: sunxi: Simplify ccm reg base code")
>>>
>>> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
>>
>> Sigh, I really wonder how (or if at all!) the original series was
>> tested. And then I get flak for scrutinizing patches, right ...
>
> APAIK, I did basic sanity with possible tests.
From what I see in the other thread, the USB never worked with the
series. If the controller returns 0s as EHCI version, something is
obviously broken and I don't even understand how that could be an
acceptable positive test result. The USB HCD version register can NOT
EVER contain zeroes as per the specification. I am really unhappy here.
> But one thing for sure is, you should have to wait for sometime to
> apply this patch. Applying fast (that to during weekend) making
> reviewers or maintainers not giving enough room to work.
Putting my USB maintainer hat on, I am quite sure I can evaluate such a
simple yet critical bugfix, if only by spending those two minutes to
look at the code in ohci_register() .
And since you complain about the rate patches get in again, let me
remind you how much flak I got for taking my time reviewing your series
and not applying it right away. Now I am getting flak for applying stuff
too quickly instead. You know, maybe if you spend more time testing the
patches you send thoroughly instead of lecturing people on the MLs, we
wouldn't be having this conversation.
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2018-06-18 7:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-17 16:13 [U-Boot] [PATCH] usb: sunxi: ohci: make ohci_t the first member in private data Vasily Khoruzhick
2018-06-18 1:14 ` Marek Vasut
2018-06-18 6:15 ` Jagan Teki
2018-06-18 7:19 ` Marek Vasut [this message]
2018-06-18 7:39 ` Jagan Teki
2018-06-18 15:36 ` Vasily Khoruzhick
2018-06-18 16:59 ` Tom Rini
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=b28af539-7ff7-77e5-8a45-c4dbef6bde65@gmail.com \
--to=marek.vasut@gmail.com \
--cc=u-boot@lists.denx.de \
/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