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: <20100630000250.GC2138@verge.net.au>
Date:	Wed, 30 Jun 2010 09:02:50 +0900
From:	Simon Horman <horms@...ge.net.au>
To:	Kulikov Vasiliy <segooon@...il.com>
Cc:	Kernel Janitors <kernel-janitors@...r.kernel.org>,
	Greg Kroah-Hartman <gregkh@...e.de>,
	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
	Nobhiro KUSUNO <n-kusuno@....so-net.ne.jp>,
	Sebastian Dalfuß <sd@...f.de>,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 20/25] usb_main_dev: remove casts from void*

On Tue, Jun 29, 2010 at 02:16:12PM +0400, Kulikov Vasiliy wrote:
> Remove unnesessary casts from void*.

No objections here.

FWIW, Reviewed-by: Simon Horman <horms@...ge.net.au>

> Signed-off-by: Kulikov Vasiliy <segooon@...il.com>
> ---
>  drivers/staging/rt2860/usb_main_dev.c |    8 ++++----
>  1 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/staging/rt2860/usb_main_dev.c b/drivers/staging/rt2860/usb_main_dev.c
> index b740662..40eab25 100644
> --- a/drivers/staging/rt2860/usb_main_dev.c
> +++ b/drivers/staging/rt2860/usb_main_dev.c
> @@ -421,8 +421,8 @@ int MlmeThread(IN void *Context)
>  	int status;
>  	status = 0;
>  
> -	pTask = (struct rt_rtmp_os_task *)Context;
> -	pAd = (struct rt_rtmp_adapter *)pTask->priv;
> +	pTask = Context;
> +	pAd = pTask->priv;
>  
>  	RtmpOSTaskCustomize(pTask);
>  
> @@ -490,8 +490,8 @@ int RTUSBCmdThread(IN void *Context)
>  	int status;
>  	status = 0;
>  
> -	pTask = (struct rt_rtmp_os_task *)Context;
> -	pAd = (struct rt_rtmp_adapter *)pTask->priv;
> +	pTask = Context;
> +	pAd = pTask->priv;
>  
>  	RtmpOSTaskCustomize(pTask);
>  
> -- 
> 1.7.0.4
--
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