svn commit: r231104 - stable/9/sys/dev/cxgb/common

Navdeep Parhar np at FreeBSD.org
Tue Feb 7 02:21:17 UTC 2012


Author: np
Date: Tue Feb  7 02:21:17 2012
New Revision: 231104
URL: http://svn.freebsd.org/changeset/base/231104

Log:
  MFC r228825:
  Fix return value of function.

Modified:
  stable/9/sys/dev/cxgb/common/cxgb_aq100x.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/dev/cxgb/common/cxgb_aq100x.c
==============================================================================
--- stable/9/sys/dev/cxgb/common/cxgb_aq100x.c	Tue Feb  7 01:26:29 2012	(r231103)
+++ stable/9/sys/dev/cxgb/common/cxgb_aq100x.c	Tue Feb  7 02:21:17 2012	(r231104)
@@ -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-9 mailing list