svn commit: r231105 - stable/8/sys/dev/cxgb/common
Navdeep Parhar
np at FreeBSD.org
Tue Feb 7 02:21:47 UTC 2012
Author: np
Date: Tue Feb 7 02:21:46 2012
New Revision: 231105
URL: http://svn.freebsd.org/changeset/base/231105
Log:
MFC r228825:
Fix return value of function.
Modified:
stable/8/sys/dev/cxgb/common/cxgb_aq100x.c
Directory Properties:
stable/8/sys/ (props changed)
Modified: stable/8/sys/dev/cxgb/common/cxgb_aq100x.c
==============================================================================
--- stable/8/sys/dev/cxgb/common/cxgb_aq100x.c Tue Feb 7 02:21:17 2012 (r231104)
+++ stable/8/sys/dev/cxgb/common/cxgb_aq100x.c Tue Feb 7 02:21:46 2012 (r231105)
@@ -232,7 +232,7 @@ aq100x_power_down(struct cphy *phy, int
err = t3_mdio_change_bits(phy, MDIO_DEV_PMA_PMD, MII_BMCR, BMCR_PDOWN,
off ? BMCR_PDOWN : 0);
if (err || off)
- return (v);
+ return (err);
msleep(300);
do {
More information about the svn-src-stable-8
mailing list