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, 23 Apr 2015 14:57:03 -0400 (EDT)
From:	David Miller <davem@...hat.com>
To:	ennoerlangen@...glemail.com
Cc:	vbridger@...nsource.altera.com, netdev@...r.kernel.org,
	nios2-dev@...ts.rocketboards.org, ennoerlangen@...il.com
Subject: Re: [PATCH v2] altera tse: add support for fixed-links.

From: Andreas Oetken <ennoerlangen@...glemail.com>
Date: Wed, 22 Apr 2015 15:22:22 +0200

> +		/* check if a fixed-link is defined in device-tree */
> +		if (of_phy_is_fixed_link(priv->device->of_node)) {
> +			if (of_phy_register_fixed_link(priv->device->of_node)
> +			    < 0) {

You should store the return value of of_phy_register_fixed_link() and return
that as the error code when it fails.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists