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: <49DDCA4F.1040605@fastmail.fm>
Date:	Thu, 09 Apr 2009 11:13:35 +0100
From:	Jack Stone <jwjstone@...tmail.fm>
To:	linux-kernel@...r.kernel.org
CC:	jeff@...zik.org, kernel-janitors@...r.kernel.org,
	per.liden@...csson.com, jon.maloy@...csson.com,
	allan.stephens@...driver.com
Subject: Re: [PATCH 33/56] tipc: Remove void casts

[Added maintainer CCs]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@...tmail.fm>
> ---
>  net/tipc/port.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/tipc/port.c b/net/tipc/port.c
> index e70d27e..0804ae2 100644
> --- a/net/tipc/port.c
> +++ b/net/tipc/port.c
> @@ -1528,7 +1528,7 @@ int tipc_forward_buf2name(u32 ref,
>  	u32 destport = 0;
>  	int res;
>  
> -	p_ptr = (struct port *)tipc_ref_deref(ref);
> +	p_ptr = tipc_ref_deref(ref);
>  	if (!p_ptr || p_ptr->publ.connected)
>  		return -EINVAL;
>  
> @@ -1656,7 +1656,7 @@ int tipc_forward_buf2port(u32 ref,
>  	struct tipc_msg *msg;
>  	int res;
>  
> -	p_ptr = (struct port *)tipc_ref_deref(ref);
> +	p_ptr = tipc_ref_deref(ref);
>  	if (!p_ptr || p_ptr->publ.connected)
>  		return -EINVAL;
>  
>   

--
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