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: <20161205.194832.1102997695171872315.davem@davemloft.net>
Date:   Mon, 05 Dec 2016 19:48:32 -0500 (EST)
From:   David Miller <davem@...emloft.net>
To:     rvatsavayi@...iumnetworks.com
Cc:     netdev@...r.kernel.org, raghu.vatsavayi@...iumnetworks.com,
        derek.chickles@...iumnetworks.com,
        satananda.burla@...iumnetworks.com,
        felix.manlunas@...iumnetworks.com
Subject: Re: [PATCH net-next 4/7] liquidio CN23XX: VF scatter gather lists

From: Raghu Vatsavayi <rvatsavayi@...iumnetworks.com>
Date: Mon, 5 Dec 2016 01:15:15 -0800

> +	kfree((void *)lio->glist);
> +	kfree((void *)lio->glist_lock);
> +}
 ...
> +	if (!lio->glist) {
> +		kfree((void *)lio->glist_lock);
> +		return 1;
> +	}

These void casts are unnecessary, please remove them.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ