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  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]
Date:   Mon, 20 Jan 2020 13:14:24 +0100 (CET)
From:   David Miller <davem@...emloft.net>
To:     ms@....tdt.de
Cc:     kubakici@...pl, khc@...waw.pl, linux-x25@...r.kernel.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 1/2] wan/hdlc_x25: make lapb params configurable

From: Martin Schiller <ms@....tdt.de>
Date: Mon, 20 Jan 2020 07:14:15 +0100

> +static struct x25_state *state(hdlc_device *hdlc)
> +{
> +	return (struct x25_state *)hdlc->state;
> +}

Because hdlc->state is "void *", this cast is unnecessary.

Powered by blists - more mailing lists