From: Sergei Shtylyov <sergei.shtylyov@gmail.com>
To: Xu Wang <vulab@iscas.ac.cn>,
stern@rowland.harvard.edu, gregkh@linuxfoundation.org
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: host: ehci: remove casting dma_alloc_coherent
Date: Thu, 4 Feb 2021 12:21:56 +0300 [thread overview]
Message-ID: <6083596c-363f-5e75-9228-0b88cbaabd19@gmail.com> (raw)
In-Reply-To: <20210204071738.84222-1-vulab@iscas.ac.cn>
Hello!
On 04.02.2021 10:17, Xu Wang wrote:
> Remove casting the values returned by dma_alloc_coherent.
I'm not seeing any casting, I'm seeing a trailing space removed.
> Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
> ---
> drivers/usb/host/ehci-mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/ehci-mem.c b/drivers/usb/host/ehci-mem.c
> index 6361d81272bc..769329032257 100644
> --- a/drivers/usb/host/ehci-mem.c
> +++ b/drivers/usb/host/ehci-mem.c
> @@ -185,7 +185,7 @@ static int ehci_mem_init (struct ehci_hcd *ehci, gfp_t flags)
> }
>
> /* Hardware periodic table */
> - ehci->periodic =
> + ehci->periodic =
> dma_alloc_coherent(ehci_to_hcd(ehci)->self.sysdev,
> ehci->periodic_size * sizeof(__le32),
> &ehci->periodic_dma, flags);
MBR, Sergei
prev parent reply other threads:[~2021-02-04 9:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 7:17 Xu Wang
2021-02-04 9:21 ` Sergei Shtylyov [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=6083596c-363f-5e75-9228-0b88cbaabd19@gmail.com \
--to=sergei.shtylyov@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
--cc=vulab@iscas.ac.cn \
/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
all inboxes | Powered by JetHome®