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]
Date:	Thu, 09 Apr 2009 11:08:03 +0100
From:	Jack Stone <jwjstone@...tmail.fm>
To:	linux-kernel@...r.kernel.org
CC:	jeff@...zik.org, kernel-janitors@...r.kernel.org,
	davem@...emloft.net
Subject: Re: [PATCH 27/56] ipv4: Remove void casts

[Added maintainer CC]
Jack Stone wrote:
> Remove uneeded void casts
>
> Signed-Off-By: Jack Stone <jwjstone@...tmail.fm>
> ---
>  net/ipv4/route.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/net/ipv4/route.c b/net/ipv4/route.c
> index c40debe..3699077 100644
> --- a/net/ipv4/route.c
> +++ b/net/ipv4/route.c
> @@ -2707,8 +2707,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
>  static int ipv4_dst_blackhole(struct net *net, struct rtable **rp, struct flowi *flp)
>  {
>  	struct rtable *ort = *rp;
> -	struct rtable *rt = (struct rtable *)
> -		dst_alloc(&ipv4_dst_blackhole_ops);
> +	struct rtable *rt = dst_alloc(&ipv4_dst_blackhole_ops);
>  
>  	if (rt) {
>  		struct dst_entry *new = &rt->u.dst;
>   

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