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] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pqacq52r.wl%kuninori.morimoto.gx@renesas.com>
Date:	Wed, 09 May 2012 16:59:14 -0700 (PDT)
From:	kuninori.morimoto.gx@...esas.com
To:	Guennadi Liakhovetski <g.liakhovetski@....de>
Cc:	Vinod Koul <vinod.koul@...el.com>, linux-kernel@...r.kernel.org,
	Magnus Damm <magnus.damm@...il.com>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
	Paul Mundt <lethal@...ux-sh.org>, linux-sh@...r.kernel.org,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: Re: [PATCH 7/9 v3] usb: renesas_usbhs: prepare for conversion to the shdma base library

At Wed, 09 May 2012 17:09:19 +0200,
Guennadi wrote:
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@....de>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> ---

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>

>  drivers/usb/renesas_usbhs/fifo.c |   10 +++++-----
>  1 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/usb/renesas_usbhs/fifo.c b/drivers/usb/renesas_usbhs/fifo.c
> index 6ec7f83..fc597a4 100644
> --- a/drivers/usb/renesas_usbhs/fifo.c
> +++ b/drivers/usb/renesas_usbhs/fifo.c
> @@ -994,7 +994,7 @@ static bool usbhsf_dma_filter(struct dma_chan *chan, void *param)
>  	 *
>  	 * usbhs doesn't recognize id = 0 as valid DMA
>  	 */
> -	if (0 == slave->slave_id)
> +	if (0 == slave->shdma_slave.slave_id)
>  		return false;
>  
>  	chan->private = slave;
> @@ -1173,8 +1173,8 @@ int usbhs_fifo_probe(struct usbhs_priv *priv)
>  	fifo->port	= D0FIFO;
>  	fifo->sel	= D0FIFOSEL;
>  	fifo->ctr	= D0FIFOCTR;
> -	fifo->tx_slave.slave_id	= usbhs_get_dparam(priv, d0_tx_id);
> -	fifo->rx_slave.slave_id	= usbhs_get_dparam(priv, d0_rx_id);
> +	fifo->tx_slave.shdma_slave.slave_id	= usbhs_get_dparam(priv, d0_tx_id);
> +	fifo->rx_slave.shdma_slave.slave_id	= usbhs_get_dparam(priv, d0_rx_id);
>  
>  	/* D1FIFO */
>  	fifo = usbhsf_get_d1fifo(priv);
> @@ -1182,8 +1182,8 @@ int usbhs_fifo_probe(struct usbhs_priv *priv)
>  	fifo->port	= D1FIFO;
>  	fifo->sel	= D1FIFOSEL;
>  	fifo->ctr	= D1FIFOCTR;
> -	fifo->tx_slave.slave_id	= usbhs_get_dparam(priv, d1_tx_id);
> -	fifo->rx_slave.slave_id	= usbhs_get_dparam(priv, d1_rx_id);
> +	fifo->tx_slave.shdma_slave.slave_id	= usbhs_get_dparam(priv, d1_tx_id);
> +	fifo->rx_slave.shdma_slave.slave_id	= usbhs_get_dparam(priv, d1_rx_id);
>  
>  	return 0;
>  }
> -- 
> 1.7.2.5
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

---
Kuninori Morimoto

「やりたいと思っているんだけど」そんなんじゃ思い続けて一生終わるよ。
やるヤツはやるうえに、やり続けているんだ。成功しても、まだやり続けている。
                              − 山本一力(作家)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ