lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6083596c-363f-5e75-9228-0b88cbaabd19@gmail.com>
Date:   Thu, 4 Feb 2021 12:21:56 +0300
From:   Sergei Shtylyov <sergei.shtylyov@...il.com>
To:     Xu Wang <vulab@...as.ac.cn>, stern@...land.harvard.edu,
        gregkh@...uxfoundation.org
Cc:     linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] usb: host: ehci: remove casting dma_alloc_coherent

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@...as.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ