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: <YRPlZGXWJGoLRSSN@lunn.ch>
Date:   Wed, 11 Aug 2021 16:57:40 +0200
From:   Andrew Lunn <andrew@...n.ch>
To:     Luo Jie <luoj@...eaurora.org>
Cc:     agross@...nel.org, bjorn.andersson@...aro.org, davem@...emloft.net,
        kuba@...nel.org, robh+dt@...nel.org, hkallweit1@...il.com,
        linux@...linux.org.uk, robert.marko@...tura.hr,
        linux-arm-msm@...r.kernel.org, netdev@...r.kernel.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        sricharan@...eaurora.org
Subject: Re: [PATCH v2 1/3] net: mdio: Add the reset function for IPQ MDIO
 driver

> +	ret = clk_prepare_enable(priv->mdio_clk);
> +	if (ret)
> +		return ret;
> +
> +	return 0;

This can be simplified to just:

     return clk_prepare_enable(priv->mdio_clk);

     Andrew

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ